--- trunk/src/applications/staticProps/TwoDGofR.cpp 2012/08/22 18:43:27 1785 +++ trunk/src/applications/staticProps/TwoDGofR.cpp 2012/08/30 17:18:22 1790 @@ -108,7 +108,7 @@ namespace OpenMD { RealType distance = sqrt(r12.x()*r12.x() + r12.y()*r12.y()); if (distance < len_) { - int whichBin = distance / deltaR_; + int whichBin = int(distance / deltaR_); histogram_[whichBin] += 2; } }