mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Applied CR suggestion
This commit is contained in:
parent
675ec5f9ab
commit
a704ec73f2
1 changed files with 4 additions and 2 deletions
|
|
@ -547,8 +547,10 @@ class Library:
|
|||
domain_nuclides = None
|
||||
if self.nuclides:
|
||||
if domain_nuclides:
|
||||
mgxs.nuclides = [nuclide for nuclide in self.nuclides if nuclide in domain_nuclides] + [
|
||||
"total"]
|
||||
mgxs.nuclides = [
|
||||
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