Skip to content

Commit adfec82

Browse files
committed
flex_analyse: fix body placement (issue #1252 reported by @mazoryuv).
This issue was caused by the change introduced in 316970c.
1 parent 50a3446 commit adfec82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flex_analyser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void FlexAnalyser::initialise()
9393
// This creates a rotation matrix for (rot,tilt,psi) = (0,90,0)
9494
// It will be used to make all Abody orientation matrices relative to (0,90,0) instead of the more logical (0,0,0)
9595
// This is useful, as psi-priors are ill-defined around tilt=0, as rot becomes the same as -psi!!
96-
rotation3DMatrix(-90., 'Y', A_rot90, false);
96+
rotation3DMatrix(+90., 'Y', A_rot90, false);
9797
A_rot90T = A_rot90.transpose();
9898

9999
if (do_PCA_orient)

0 commit comments

Comments
 (0)