ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/math/RMSD.hpp
(Generate patch)

Comparing trunk/src/math/RMSD.hpp (file contents):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC

# Line 52 | Line 52 | namespace OpenMD {
52        ref_ = ref;
53        ref_com = V3Zero;
54        
55 <      for (int n=0; n<ref_.size(); n++) {
55 >      for (unsigned int n = 0; n < ref_.size(); n++) {
56          ref_com += ref_[n];
57        }
58        ref_com /= (RealType)ref.size();      

Comparing trunk/src/math/RMSD.hpp (property svn:keywords):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines