diff options
author | 2018-01-17 13:14:48 -0800 | |
---|---|---|
committer | 2018-01-17 13:18:49 -0800 | |
commit | d8697935d334bb0f2e1c9bccfe9a2a7bee9785cc (patch) | |
tree | 134cec2030a5e3fd3edef20e739c133c8940f257 /tensorflow/contrib/boosted_trees/lib | |
parent | 7699ea8bee2ee9d0d5c93706cf1357a36c60ef58 (diff) |
Merge changes from github.
PiperOrigin-RevId: 182258809
Diffstat (limited to 'tensorflow/contrib/boosted_trees/lib')
-rw-r--r-- | tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.cc b/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.cc index ccee9530b6..1297aa8849 100644 --- a/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.cc +++ b/tensorflow/contrib/boosted_trees/lib/utils/sparse_column_iterable.cc @@ -51,7 +51,7 @@ class IndicesRowIterator return tmp; } - reference operator*() { return iter_->ix()(row_idx_, 0); } + reference operator*() const { return iter_->ix()(row_idx_, 0); } pointer operator->() { return &iter_->ix()(row_idx_, 0); } |