--- trunk/src/applications/staticProps/GofRZ.cpp 2012/08/22 18:43:27 1785 +++ trunk/src/applications/staticProps/GofRZ.cpp 2012/08/30 17:18:22 1790 @@ -109,14 +109,14 @@ namespace OpenMD { RealType distance = sqrt(pow(r12.x(), 2) + pow(r12.y(), 2)); - int whichRBin = distance / deltaR_; + int whichRBin = int(distance / deltaR_); if (distance <= len_) { RealType Z = fabs(r12.z()); if (Z <= zLen_) { - int whichZBin = Z / deltaZ_; + int whichZBin = int(Z / deltaZ_); ++histogram_[whichRBin][whichZBin]; ++npairs_;