mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
fix particle tally filter bug: the index is stored wrong
This commit is contained in:
parent
f6ace6ece7
commit
e36f67c5bb
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ void read_tallies_xml()
|
|||
const auto& f = model::tally_filters[i_filter].get();
|
||||
|
||||
auto pf = dynamic_cast<ParticleFilter*>(f);
|
||||
if (pf) particle_filter_index = j;
|
||||
if (pf) particle_filter_index = i_filter;
|
||||
|
||||
// Change the tally estimator if a filter demands it
|
||||
std::string filt_type = f->type();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue