ComponentLabel compiles making it run

This commit is contained in:
James E McClure
2015-07-11 22:58:57 -04:00
parent 6e47fde840
commit 30befa961c
2 changed files with 11 additions and 8 deletions

View File

@@ -328,9 +328,9 @@ int ComputeLocalPhaseComponent(IntArray &PhaseID, int VALUE, IntArray &Component
for (size_t i=0; i<Nx; i++) {
if ( PhaseID(i,j,k) == VALUE) {
// Solid phase
ComponentLabel(i,j,k) = -2;
} else{
ComponentLabel(i,j,k) = -1;
} else{
ComponentLabel(i,j,k) = -2;
}
}
}