From 6e3deb8f3c6cd48b822ee0c7ef68df93396a67da Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Wed, 28 Oct 2015 12:27:28 -0400 Subject: [PATCH] Removed no unused correction parameter to ScatterMatrixXS.compute_xs(...) routine --- openmc/mgxs/mgxs.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/openmc/mgxs/mgxs.py b/openmc/mgxs/mgxs.py index 880b838cc..9e2fcbf00 100644 --- a/openmc/mgxs/mgxs.py +++ b/openmc/mgxs/mgxs.py @@ -1715,17 +1715,9 @@ class ScatterMatrixXS(MGXS): cv.check_value('correction', correction, ('P0', None)) self._correction = correction - def compute_xs(self, correction='P0'): + def compute_xs(self): """Computes the multi-group scattering matrix using OpenMC - tally arithmetic. - - Parameters - ---------- - correction : {'P0' or None} - If 'P0', applies the P0 transport correction to the diagonal of the - scattering matrix. - - """ + tally arithmetic.""" # If using P0 correction subtract scatter-P1 from the diagonal if self.correction == 'P0':