From f0076c16bdcee493919cc66dc28d57cfd3b504d6 Mon Sep 17 00:00:00 2001 From: Em Chu Date: Wed, 10 Jun 2026 15:55:18 -0700 Subject: [PATCH] Syntax fix: callable type instead of tuple assignment --- src/scaling/scaling.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scaling/scaling.jl b/src/scaling/scaling.jl index cb420ff8..1f02f7a9 100644 --- a/src/scaling/scaling.jl +++ b/src/scaling/scaling.jl @@ -93,7 +93,7 @@ end sitp(xis...) end -(sitp::ScaledInterpolation{T,1}, x::Number, y::Int) where {T} = y == 1 ? sitp(x) : Base.throw_boundserror(sitp, (x, y)) +(sitp::ScaledInterpolation{T,1})(x::Number, y::Int) where {T} = y == 1 ? sitp(x) : Base.throw_boundserror(sitp, (x, y)) @inline function (itp::ScaledInterpolation{T,N})(x::Vararg{Union{Number,AbstractVector},N}) where {T,N} [itp(i...) for i in Iterators.product(x...)]