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:32:30 +01:00
parent 3744137dc5
commit d245a7e485

View File

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