septernion: Correct quaternion normalization after averaging

Resolves bug-report http://bugs.openfoam.org/view.php?id=2203
This commit is contained in:
Henry Weller 2016-08-19 20:34:13 +01:00
parent c84098737c
commit 0fb712a4f1

View file

@ -93,7 +93,7 @@ Foam::septernion Foam::average
}
}
normalize(sa.r());
sa.r().normalize();
return sa;
}