Skip to content
Snippets Groups Projects
Commit e9e45cea authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix crash

parent 7f2a62a8
No related branches found
No related tags found
No related merge requests found
...@@ -411,7 +411,7 @@ int CellComplex::coreduction(int dim, int omit, ...@@ -411,7 +411,7 @@ int CellComplex::coreduction(int dim, int omit,
} }
if(getSize(dim) == 0 || getSize(dim-1) == 0) break; if(getSize(dim) == 0 || getSize(dim-1) == 0) break;
cit++; if(cit != lastCell(dim)) cit++;
} }
} }
_reduced = true; _reduced = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment