Skip to content

Commit

Permalink
Revert "Remove attributes argument from check_is_fitted (#134)" (#138)
Browse files Browse the repository at this point in the history
This reverts commit adbf2c9.
  • Loading branch information
leouieda authored Jan 16, 2020
1 parent e9d5ca0 commit fd1f44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmonica/equivalent_layer/harmonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def predict(self, coordinates):
The data values evaluated on the given points.
"""
# We know the gridder has been fitted if it has the coefs_
check_is_fitted(self)
check_is_fitted(self, ["coefs_"])
shape = np.broadcast(*coordinates[:3]).shape
size = np.broadcast(*coordinates[:3]).size
dtype = coordinates[0].dtype
Expand Down

0 comments on commit fd1f44d

Please sign in to comment.