seulex: changed monotonicity check to correspond to original implementation

Resolves bug-report https://bugs.openfoam.org/view.php?id=2972
This commit is contained in:
Henry Weller
2018-06-06 15:13:08 +01:00
parent 7f49d6e2cc
commit 873d2c9c23

View File

@ -153,7 +153,7 @@ bool Foam::seulex::seul
LUBacksubstitute(a_, pivotIndices_, dy_);
const scalar denom = min(1, dy1 + small);
const scalar denom = max(1, dy1);
scalar dy2 = 0;
for (label i=0; i<n_; i++)
{