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

Comparing branches/development/src/applications/staticProps/RhoR.cpp (file contents):
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC vs.
Revision 1794 by gezelter, Thu Sep 6 19:44:06 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