# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |