Skip to content

Commit

Permalink
Change copy to match convention
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Romano <[email protected]>
  • Loading branch information
joshmay1 and paulromano authored Sep 8, 2022
1 parent 3c7483b commit 09de637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc/deplete/nuclide.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def __repr__(self):
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

Expand Down

0 comments on commit 09de637

Please sign in to comment.