diff --git a/applications/solvers/multiphase/cavitatingFoam/pEqn.H b/applications/solvers/multiphase/cavitatingFoam/pEqn.H index 816928626..710487d0f 100644 --- a/applications/solvers/multiphase/cavitatingFoam/pEqn.H +++ b/applications/solvers/multiphase/cavitatingFoam/pEqn.H @@ -37,7 +37,7 @@ - fvm::laplacian(rUAf, p) ); - if (corr == nCorr-1 && nonOrth == nNonOrthCorr) + if (corr == nCorr - 1 && nonOrth == nNonOrthCorr) { pEqn.solve(mesh.solver(p.name() + "Final")); }