--- trunk/src/applications/staticProps/BondAngleDistribution.cpp 2012/08/22 18:43:27 1785 +++ trunk/src/applications/staticProps/BondAngleDistribution.cpp 2012/08/30 17:18:22 1790 @@ -181,7 +181,7 @@ namespace OpenMD { if (theta > 180.0){ theta = 360.0 - theta; } - int whichBin = theta/deltaTheta_; + int whichBin = int(theta/deltaTheta_); histogram_[whichBin] += 2; }