mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Update openmc/mgxs/library.py
apply CR suggestion Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
a704ec73f2
commit
00657ccf87
1 changed files with 3 additions and 3 deletions
|
|
@ -548,9 +548,9 @@ class Library:
|
|||
if self.nuclides:
|
||||
if domain_nuclides:
|
||||
mgxs.nuclides = [
|
||||
nuclide for nuclide in self.nuclides
|
||||
if nuclide in domain_nuclides
|
||||
] + ["total"]
|
||||
nuclide for nuclide in self.nuclides
|
||||
if nuclide in domain_nuclides
|
||||
] + ["total"]
|
||||
else:
|
||||
mgxs.nuclides = self.nuclides
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue