Skip to content

Commit 7003f0f

Browse files
committed
Pass args directly to detect_types in ol_interp
1 parent dd22fe5 commit 7003f0f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

interpolation/multilinear/mlinterp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ def _interp(*args):
228228

229229
@overload(_interp)
230230
def ol_interp(*args):
231-
aa = args[0].types
232-
233-
it = detect_types(aa)
231+
it = detect_types(args)
234232
if it.d == 1 and it.eval == "point":
235233
it = itt(it.d, it.values, "cartesian")
236234
source = make_mlinterp(it, "__mlinterp")

0 commit comments

Comments
 (0)