Victoria Oberascher commited on
Commit
dbcf938
·
1 Parent(s): 329abf4

Fix bug in _compute method in horizonmetrics.py

Browse files
Files changed (1) hide show
  1. horizonmetrics.py +1 -1
horizonmetrics.py CHANGED
@@ -124,7 +124,7 @@ class horizonmetrics(evaluate.Metric):
124
  self.slope_error_list.append(slope_error)
125
  self.midpoint_error_list.append(midpoint_error)
126
 
127
- def _compute(self):
128
  """
129
  Compute the horizon error across the sequence.
130
 
 
124
  self.slope_error_list.append(slope_error)
125
  self.midpoint_error_list.append(midpoint_error)
126
 
127
+ def _compute(self, *, predictions, references, **kwargs):
128
  """
129
  Compute the horizon error across the sequence.
130