mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix material filter bug
This commit is contained in:
parent
96e92e4306
commit
a6a007e7f7
1 changed files with 3 additions and 1 deletions
|
|
@ -1728,7 +1728,9 @@ contains
|
|||
p % coord(p % n_coord) % universe, i_tally)
|
||||
|
||||
case (FILTER_MATERIAL)
|
||||
if (p % material /= MATERIAL_VOID) then
|
||||
if (p % material == MATERIAL_VOID) then
|
||||
matching_bins(i) = NO_BIN_FOUND
|
||||
else
|
||||
matching_bins(i) = get_next_bin(FILTER_MATERIAL, &
|
||||
p % material, i_tally)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue