mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Adding check of interpolation parameter in eff __eq__
This commit is contained in:
parent
f33ea966b2
commit
834450066e
1 changed files with 2 additions and 0 deletions
|
|
@ -1913,6 +1913,8 @@ class EnergyFunctionFilter(Filter):
|
|||
def __eq__(self, other):
|
||||
if type(self) is not type(other):
|
||||
return False
|
||||
elif not self.interpolation == other.interpolation:
|
||||
return False
|
||||
elif not all(self.energy == other.energy):
|
||||
return False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue