Bugfix: compilation
This commit is contained in:
parent
31ce35e83a
commit
9eaec00f21
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ Foam::vector Foam::finiteRotation::eulerAngles(const tensor& rotT)
|
|||
// Use mag to avoid negative value due to round-off
|
||||
// HJ, 24/Feb/2016
|
||||
// Bugfix: sqr. SS, 18/Apr/2016
|
||||
const scalar c2 = sqrt(sqr(rotT.xx()) + sqr(rotT.xy())));
|
||||
const scalar c2 = sqrt(sqr(rotT.xx()) + sqr(rotT.xy()));
|
||||
|
||||
// Calculate pitch angle
|
||||
pitchAngle = atan2(-rotT.xz(), c2);
|
||||
|
|
Reference in a new issue