ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/staticProps/RhoR.cpp
(Generate patch)

Comparing trunk/src/applications/staticProps/RhoR.cpp (file contents):
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC vs.
Revision 1790 by gezelter, Thu Aug 30 17:18:22 2012 UTC

# Line 103 | Line 103 | namespace OpenMD {
103          RealType distance = r12.length();
104          
105          if (distance < len_) {
106 <          int whichBin = distance / deltaR_;
106 >          int whichBin = int(distance / deltaR_);
107            histogram_[whichBin] += 1;
108          }
109          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines