Merge pull request #435 from wbinventor/py-get-values-hotfix

Fixed filter indexing issue in Tally.get_values(...) introduced in #426
This commit is contained in:
Paul Romano 2015-08-11 13:38:52 +07:00
commit 8bdd73fb87

View file

@ -914,7 +914,8 @@ class Tally(object):
filter_indices[i][j] = filter_index
# Account for stride in each of the previous filters
filter_indices[:i] *= filter.num_bins
for indices in filter_indices[:i]:
indices *= filter.num_bins
# Apply outer product sum between all filter bin indices
filter_indices = list(map(sum, itertools.product(*filter_indices)))