Skip to content

Commit

Permalink
Pass args directly to detect_types in ol_interp
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Mar 21, 2024
1 parent dd22fe5 commit 7003f0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions interpolation/multilinear/mlinterp.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ def _interp(*args):

@overload(_interp)
def ol_interp(*args):
aa = args[0].types

it = detect_types(aa)
it = detect_types(args)
if it.d == 1 and it.eval == "point":
it = itt(it.d, it.values, "cartesian")
source = make_mlinterp(it, "__mlinterp")
Expand Down

0 comments on commit 7003f0f

Please sign in to comment.