mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Change copy to match convention
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
3c7483becb
commit
09de637b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ class FissionYield(Mapping):
|
|||
self.__class__.__name__, len(self))
|
||||
|
||||
def __deepcopy__(self, memo):
|
||||
result = FissionYield(self.products, np.copy(self.yields))
|
||||
result = FissionYield(self.products, self.yields.copy())
|
||||
memo[id(self)] = result
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue