Skip to content

Commit

Permalink
FIX problem with extra dimension that makes linear interpolation failing
Browse files Browse the repository at this point in the history
update not working file

Fix in Linear class
  • Loading branch information
giovastabile committed Nov 15, 2023
1 parent e57fe51 commit 063013c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ezyrb/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ def predict(self, new_point):
:return: the interpolated values.
:rtype: numpy.ndarray
"""
return self.interpolator(new_point)
return self.interpolator(new_point).squeeze()

0 comments on commit 063013c

Please sign in to comment.