We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62c8435 commit ab5cc21Copy full SHA for ab5cc21
1 file changed
include/osp/graph_implementations/eigen_matrix_adapter/eigen_sparse_iterator.hpp
@@ -78,7 +78,7 @@ class EigenCSRRange {
78
79
inline bool operator!=(const Iterator &other) const { return not(*this == other); }
80
81
- inline operator bool() const { return it_; }
+ inline explicit operator bool() const { return it_; }
82
};
83
84
EigenCSRRange(const Graph &graph, EigenIdxType idx) : graph_(graph), index_(idx) {}
@@ -143,7 +143,7 @@ class EigenCSCRange {
143
144
145
146
147
148
149
EigenCSCRange(const Graph &graph, EigenIdxType idx) : graph_(graph), index_(idx) {}
0 commit comments