Commit 0d75d907 authored by Pierre Kraemer's avatar Pierre Kraemer
Browse files

petit oubli de delete dans degree generique

parent 552df716
...@@ -619,6 +619,7 @@ unsigned int GenericMap::degree(Dart d) ...@@ -619,6 +619,7 @@ unsigned int GenericMap::degree(Dart d)
Traversor<MAP>* t = TraversorFactory<MAP>::createIncident(*(reinterpret_cast<MAP*>(this)), d, dimension(), ORBIT, INCIDENT) ; Traversor<MAP>* t = TraversorFactory<MAP>::createIncident(*(reinterpret_cast<MAP*>(this)), d, dimension(), ORBIT, INCIDENT) ;
FunctorCount fcount ; FunctorCount fcount ;
t->applyFunctor(fcount) ; t->applyFunctor(fcount) ;
delete t ;
return fcount.getNb() ; return fcount.getNb() ;
} }
......
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