Commit ee60e9f7 authored by Lynn Garren's avatar Lynn Garren
Browse files

fix bug introduced in 2.1.2.0

parent 52ee46c5
...@@ -340,7 +340,7 @@ inline HepRotation operator * (const HepRotationZ & rz, const HepRotation & r){ ...@@ -340,7 +340,7 @@ inline HepRotation operator * (const HepRotationZ & rz, const HepRotation & r){
HepRep3x3 mmm = r.rep3x3(); HepRep3x3 mmm = r.rep3x3();
double c = rz.xx(); double c = rz.xx();
double ss = rz.yx(); double ss = rz.yx();
return HepRotation ( c*mmm.xx_-s*mmm.yx_, c*mmm.xy_-s*mmm.yy_, c*mmm.xz_-s*mmm.yz_, return HepRotation ( c*mmm.xx_-s*mmm.yx_, c*mmm.xy_-s*mmm.yy_, c*mmm.xz_-ss*mmm.yz_,
ss*mmm.xx_+c*mmm.yx_, ss*mmm.xy_+c*mmm.yy_, ss*mmm.xz_+c*mmm.yz_, ss*mmm.xx_+c*mmm.yx_, ss*mmm.xy_+c*mmm.yy_, ss*mmm.xz_+c*mmm.yz_,
mmm.zx_, mmm.zy_, mmm.zz_ ); mmm.zx_, mmm.zy_, mmm.zz_ );
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment