ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/Grid3d.hpp
(Generate patch)

Comparing branches/development/src/utils/Grid3d.hpp (file contents):
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC vs.
Revision 1824 by gezelter, Wed Jan 9 15:25:15 2013 UTC

# Line 100 | Line 100 | namespace OpenMD {
100      
101      int isValidGrid(unsigned int i, unsigned int j, unsigned int k) const {
102        unsigned int index = i * dim2_*dim3_ + j * dim3_ + k;
103 <      return index < data_.size() ? index : -1;
103 >      return index < data_.size() ? int(index) : -1;
104      };
105      
106      unsigned int dim1_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines