--- trunk/src/applications/staticProps/BondAngleDistribution.cpp 2013/07/31 15:43:17 1918 +++ trunk/src/applications/staticProps/BondAngleDistribution.cpp 2013/07/31 18:03:35 1919 @@ -174,10 +174,10 @@ namespace OpenMD { Vector3d vec2 = bondvec[j]; vec2.normalize(); - + RealType theta = acos(dot(vec1,vec2))*180.0/NumericConstant::PI; - + if (theta > 180.0){ theta = 360.0 - theta; }