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

Comparing trunk/src/flucq/FluctuatingChargeConstraints.cpp (file contents):
Revision 1938 by gezelter, Thu Oct 31 15:32:17 2013 UTC vs.
Revision 1939 by gezelter, Thu Oct 31 18:18:57 2013 UTC

# Line 152 | Line 152 | namespace OpenMD {
152      
153      // do the same in the regions:
154      if (constrainRegions_) {
155 <      for (int i = 0; i < regionForce_.size(); ++i)  {
155 >      for (unsigned int i = 0; i < regionForce_.size(); ++i)  {
156          regionForce_[ i ] /= regionCharges_[ i ];
157        }
158      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines