summaryrefslogtreecommitdiffstats
path: root/include/mm/mmiterator.hpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-07-10 10:24:37 +0200
committerancarola <raffaele.ancarola@epfl.ch>2019-07-10 10:24:37 +0200
commiteb5cdb04efc9984d0937b65620606f8043dd1831 (patch)
tree46b750f4f2228e532e2041d873b37caf2940d15c /include/mm/mmiterator.hpp
parentSmall correction on basic multiplication (diff)
downloadlibmm-eb5cdb04efc9984d0937b65620606f8043dd1831.tar.gz
libmm-eb5cdb04efc9984d0937b65620606f8043dd1831.zip
Implicit convertion to basic_vec to vec2 or vec3
Diffstat (limited to 'include/mm/mmiterator.hpp')
-rw-r--r--include/mm/mmiterator.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mm/mmiterator.hpp b/include/mm/mmiterator.hpp
index ed406fe..4efe474 100644
--- a/include/mm/mmiterator.hpp
+++ b/include/mm/mmiterator.hpp
@@ -28,13 +28,13 @@ public:
vector_iterator(Grid& _M, std::size_t pos, std::size_t i = 0)
: M(_M), position(pos), index(i) {}
-#ifdef MM_IMPLICIT_CONVERSION_ITERATOR
+//#ifdef MM_IMPLICIT_CONVERSION_ITERATOR
operator T&()
{
- npdebug("Calling +")
+ //npdebug("Calling +")
return *(*this);
}
-#endif
+//#endif
IterType operator++()
{