mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Applying suggestion from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
00f5f1a0d6
commit
e35f317099
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@ def _calculate_cexs_nuclide(this, types, temperature=294., sab_name=None,
|
|||
funcs.append(lambda x: xi)
|
||||
else:
|
||||
funcs.append(lambda x: 0.)
|
||||
funcs = funcs if funcs else [lambda x:0.]
|
||||
funcs = funcs if funcs else [lambda x: 0.]
|
||||
xs.append(openmc.data.Combination(funcs, op))
|
||||
else:
|
||||
raise ValueError(this + " not in library")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue