Skip to content
Snippets Groups Projects
Commit 6fd564fb authored by Matti Pellika's avatar Matti Pellika
Browse files

A fix.

parent a5c12b3a
No related branches found
No related tags found
No related merge requests found
...@@ -338,6 +338,7 @@ int CellComplex::reduceComplex(bool docombine, bool omit) ...@@ -338,6 +338,7 @@ int CellComplex::reduceComplex(bool docombine, bool omit)
Msg::Debug(" %d volumes, %d faces, %d edges and %d vertices", Msg::Debug(" %d volumes, %d faces, %d edges and %d vertices",
getSize(3), getSize(2), getSize(1), getSize(0)); getSize(3), getSize(2), getSize(1), getSize(0));
if(!getSize(0)) return 0;
int count = 0; int count = 0;
std::vector<Cell*> empty; std::vector<Cell*> empty;
for(int i = 3; i > 0; i--) count = count + reduction(i, false, empty); for(int i = 3; i > 0; i--) count = count + reduction(i, false, empty);
...@@ -400,6 +401,7 @@ int CellComplex::coreduceComplex(bool docombine, bool omit) ...@@ -400,6 +401,7 @@ int CellComplex::coreduceComplex(bool docombine, bool omit)
Msg::Debug(" %d volumes, %d faces, %d edges and %d vertices", Msg::Debug(" %d volumes, %d faces, %d edges and %d vertices",
getSize(3), getSize(2), getSize(1), getSize(0)); getSize(3), getSize(2), getSize(1), getSize(0));
if(!getSize(0)) return 0;
int count = 0; int count = 0;
removeSubdomain(); removeSubdomain();
std::vector<Cell*> empty; std::vector<Cell*> empty;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment