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

Comparing trunk/src/applications/staticProps/TetrahedralityParam.cpp (file contents):
Revision 1786 by plouden, Fri Aug 24 17:14:11 2012 UTC vs.
Revision 1790 by gezelter, Thu Aug 30 17:18:22 2012 UTC

# Line 261 | Line 261 | namespace OpenMD {
261      int nSelected = 0;
262  
263      for (int i = 0; i < nBins_; ++i) {
264 <      nSelected = nSelected + Q_histogram_[i]*deltaQ_;
264 >      nSelected = nSelected + int(Q_histogram_[i]*deltaQ_);
265      }
266      
267      std::ofstream osq((getOutputFileName() + "Q").c_str());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines