mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
[skip ci] suggestion from review by @Paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
130b3a2dc6
commit
093886a4eb
1 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ class ResultsList(list):
|
|||
cv.check_value("nuc_units", nuc_units,
|
||||
{"atoms", "atom/b-cm", "atom/cm3"})
|
||||
|
||||
mat_id = str(mat.id)
|
||||
if isinstance(mat, openmc.Material):
|
||||
mat = mat.id
|
||||
times = np.empty_like(self, dtype=float)
|
||||
concentrations = np.empty_like(self, dtype=float)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue