Merge pull request #486 from smharper/material_filter_bug

Fix material filter bug
This commit is contained in:
Paul Romano 2015-10-29 18:49:23 -05:00
commit 2993228a12

View file

@ -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