ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/io/StatWriter.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/io/StatWriter.cpp (file contents):
Revision 1808 by tim, Tue Nov 30 23:14:29 2004 UTC vs.
Revision 1819 by tim, Wed Dec 1 22:45:49 2004 UTC

# Line 66 | Line 66 | void StatWriter::writeStat(Stats* s){
66   #endif // is_mpi    
67   }
68  
69 < void StatWriter::writeStat(Stats* s){
69 > void StatWriter::writeStat(const Stats& s){
70  
71   #ifdef IS_MPI
72      if(worldRank == 0 ){
# Line 76 | Line 76 | void StatWriter::writeStat(Stats* s){
76  
77          for (int i =0; i < mask_.size(); ++i) {
78              if (mask_[i]) {
79 <                statfile_ << "\t" << (*s)[i];
79 >                statfile_ << "\t" << s[i];
80              }
81          }
82          statfile_ << std::endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines