Use correct syntax for logical not.

This commit is contained in:
Atgeirr Flø Rasmussen
2015-12-21 14:55:33 +01:00
parent dc4274f4a2
commit 8507427d83
+1 -1
View File
@@ -153,7 +153,7 @@ namespace Opm
}
// opmfil is hardcoded to be true. i.e the pinch processor is never used
if (~opmfil && eclgrid->isPinchActive()) {
if (!opmfil && eclgrid->isPinchActive()) {
const double minpv = eclgrid->getMinpvValue();
const double thickness = eclgrid->getPinchThresholdThickness();
auto transMode = eclgrid->getPinchOption();