diff --git a/Geo/CellComplex.cpp b/Geo/CellComplex.cpp index 262a8bb7a8d34da2ad9caf04b756b6186893c05e..74d32bb50b02129691508b018d65f6881b3d6e43 100644 --- a/Geo/CellComplex.cpp +++ b/Geo/CellComplex.cpp @@ -411,7 +411,7 @@ int CellComplex::coreduction(int dim, int omit, } if(getSize(dim) == 0 || getSize(dim-1) == 0) break; - cit++; + if(cit != lastCell(dim)) cit++; } } _reduced = true;