fix how the W phase saturation is calculated in morphological drainage

This commit is contained in:
zherexli committed 2016-11-02 17:39:49 -04:00
1 parent ce72949e4a
commit 6ed5f5aea6
1 file changed
+1 -1
+1 -1
View File
@@ -409,7 +409,7 @@ int main(int argc, char **argv)
for (int j=1; j<Ny-1; j++){
for (int i=1; i<Nx-1; i++){
n=k*Nx*Ny+j*Nx+i;
if (id[n] == 1){
if (id[n] == 2){
count++;
}
}