From ad6bce6a295bbf9389b12aeb3a276830d4766296 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 26 Jun 2015 19:09:03 +0100 Subject: [PATCH] bug fix: optimisation switch use --- .../gradSchemes/leastSquaresGrad/leastSquaresVectors.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C index db0486263..ef644bc5a 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C @@ -262,7 +262,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const if ( (lsPIn[faceI] & SfIn[faceI])/(mag(lsPIn[faceI])*mag(SfIn[faceI])) - < smallDotProdTol_ + < smallDotProdTol_() ) { // Least square points in the wrong direction for owner @@ -273,7 +273,7 @@ void Foam::leastSquaresVectors::makeLeastSquaresVectors() const if ( (lsNIn[faceI] & SfIn[faceI])/(mag(lsNIn[faceI])*mag(SfIn[faceI])) - > -smallDotProdTol_ + > -smallDotProdTol_() ) { // Least square points in the wrong direction for owner.