Skip to content

Commit

Permalink
Account for old numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
vovaf709 committed Dec 24, 2023
1 parent e0e4ec2 commit 7305046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imops/interp2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

def __call__(
self, points: np.ndarray, values: Optional[np.ndarray] = None, fill_value: float = 0.0
) -> np.ndarray[np.float32]:
) -> np.ndarray:

if values is not None:
if isinstance(values, np.ndarray):
Expand Down

0 comments on commit 7305046

Please sign in to comment.