From a42d492a3030e922dfca1a0a2baee6fa293e1dab Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Tue, 7 Mar 2017 11:38:44 -0500 Subject: [PATCH] Fixed filters for normalization of scattering probability matrix with angular histogram representation --- openmc/mgxs/mgxs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openmc/mgxs/mgxs.py b/openmc/mgxs/mgxs.py index 402152608..595c0b596 100644 --- a/openmc/mgxs/mgxs.py +++ b/openmc/mgxs/mgxs.py @@ -3963,6 +3963,8 @@ class ScatterMatrixXS(MatrixMGXS): # Remove the AggregateFilter summed across energyout bins norm._filters = norm._filters[:2] + if self.scatter_format == 'histogram': + norm._filters.append(norm._filters[-1]) # Multiply by the group-to-group probability matrix self._xs_tally *= (self.tallies[tally_key] / norm)