From 7dc641bb88c045897f46e2748dcd1201cc4398c7 Mon Sep 17 00:00:00 2001 From: Miriam Date: Tue, 15 Sep 2020 22:39:13 +0000 Subject: [PATCH] Fixed typo from last pull request Very sorry for missing this in my last PR. Since there isn't a test for create_mg_mode with these delayed mgxs types, it's not super easy to catch these errors. --- openmc/mgxs/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/mgxs/library.py b/openmc/mgxs/library.py index 671b0b8f0..e2ba0bc6a 100644 --- a/openmc/mgxs/library.py +++ b/openmc/mgxs/library.py @@ -1096,7 +1096,7 @@ class Library: if 'decay-rate' in self.mgxs_types: mymgxs = self.get_mgxs(domain, 'decay-rate') - xsdata.set_decay_rate_mgxs(mymgxs, xs_types=xs_type, nuclide=[nuclide], + xsdata.set_decay_rate_mgxs(mymgxs, xs_type=xs_type, nuclide=[nuclide], subdomain=subdomain) # If multiplicity matrix is available, prefer that