Skip to content

Commit

Permalink
codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
apchytr committed Sep 19, 2024
1 parent 5e21bfd commit 10932bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mrmustard/math/parameter_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ def __bool__(self) -> bool:
return False

def __eq__(self, other: Any) -> bool:
r"""
Returns whether ``other`` is equivalent to this parameter set.
"""
if not isinstance(other, ParameterSet):
return False
return (
Expand Down

0 comments on commit 10932bd

Please sign in to comment.