mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Use 0-based indexing for FilterMatch.i_bin_
This commit is contained in:
parent
8b3be55f0e
commit
a8a7d9112f
5 changed files with 22 additions and 173 deletions
|
|
@ -355,7 +355,8 @@ write_tallies()
|
|||
const auto& filt {*model::tally_filters[i_filt]};
|
||||
auto& match {simulation::filter_matches[i_filt]};
|
||||
tallies_out << std::string(indent+1, ' ')
|
||||
<< filt.text_label(match.i_bin_) << "\n";
|
||||
// TODO: off-by-one
|
||||
<< filt.text_label(match.i_bin_+1) << "\n";
|
||||
}
|
||||
indent += 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue