Bugfix: Aitken relaxation

This commit is contained in:
Hrvoje Jasak 2017-02-10 09:59:29 +00:00
parent a2919d36e5
commit 6653e9a5d4

View file

@ -598,7 +598,7 @@ void Foam::sixDOFqODE::relaxAcceleration
const scalar maxRelFactor
)
{
if (minRelFactor - maxRelFactor < SMALL)
if (mag(minRelFactor - maxRelFactor) < SMALL)
{
// Fixed relaxation
relaxFactorT_ = minRelFactor;