Skip to content

Commit

Permalink
Fix computed_metrics attribute initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
maestroque committed Aug 10, 2024
1 parent 1b0deaa commit 0c324c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physutils/physio.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def __init__(
reject=np.empty(0, dtype=int),
)
self._suppdata = None if suppdata is None else np.asarray(suppdata).squeeze()
self._computed_metrics = []
self._computed_metrics = dict()

def __array__(self):
return self.data
Expand Down

0 comments on commit 0c324c5

Please sign in to comment.