Commit 908c73c0 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

minor modif

parent 19872ac9
...@@ -398,7 +398,7 @@ public: ...@@ -398,7 +398,7 @@ public:
template <unsigned int ORBIT_TO, unsigned int ORBIT_FROM, typename MAP, typename FUNC> template <unsigned int ORBIT_TO, unsigned int ORBIT_FROM, typename MAP, typename FUNC>
inline void foreach_incident2(MAP& map, Cell<ORBIT_FROM> c,FUNC f) inline void foreach_incident2(MAP& map, Cell<ORBIT_FROM> c, FUNC f)
{ {
IncidentTrav2<MAP,ORBIT_FROM,ORBIT_TO> trav(const_cast<const MAP&>(map),c); IncidentTrav2<MAP,ORBIT_FROM,ORBIT_TO> trav(const_cast<const MAP&>(map),c);
for (Cell<ORBIT_TO> c = trav.t.begin(), e = trav.t.end(); c.dart != e.dart; c = trav.t.next()) for (Cell<ORBIT_TO> c = trav.t.begin(), e = trav.t.end(); c.dart != e.dart; c = trav.t.next())
......
...@@ -347,7 +347,7 @@ public: ...@@ -347,7 +347,7 @@ public:
}; };
template < unsigned int ORBIT_TO, unsigned int ORBIT_FROM, typename MAP, typename FUNC> template <unsigned int ORBIT_TO, unsigned int ORBIT_FROM, typename MAP, typename FUNC>
inline void foreach_incident3(MAP& map, Cell<ORBIT_FROM> c, FUNC f, bool forceDartMarker = false, unsigned int thread = 0) inline void foreach_incident3(MAP& map, Cell<ORBIT_FROM> c, FUNC f, bool forceDartMarker = false, unsigned int thread = 0)
{ {
Traversor3XY<MAP,ORBIT_FROM,ORBIT_TO> trav(const_cast<const MAP&>(map),c,forceDartMarker,thread); Traversor3XY<MAP,ORBIT_FROM,ORBIT_TO> trav(const_cast<const MAP&>(map),c,forceDartMarker,thread);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment