Skip to content

Commit

Permalink
found the culprit
Browse files Browse the repository at this point in the history
  • Loading branch information
oelbert committed Sep 5, 2024
1 parent 1bd19ea commit a427b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndsl/testing/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ def __init__(
):
super().__init__(reference_values, computed_values)
self.eps = eps
self._calculated_metric = np.empty_like(self.references)
self.success = self._compute_errors(
ignore_near_zero_errors,
near_zero,
)
self.check = np.all(self.success)
self._calculated_metric = np.empty_like(self.references)

def _compute_errors(
self,
Expand Down

0 comments on commit a427b1a

Please sign in to comment.