Skip to content

Commit 0329db4

Browse files
committed
remove call to Core.Inference to try to fix v0.7
1 parent 64fc519 commit 0329db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/b-splines/b-splines.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function BSplineInterpolation(::Type{TWeights}, A::AbstractArray{Tel,N}, ::IT, :
2525
for _ in 2:N
2626
c *= c
2727
end
28-
T = Core.Inference.return_type(*, Tuple{typeof(c), Tel})
28+
T = Base.promote_op(*, typeof(c), Tel)
2929

3030
BSplineInterpolation{T,N,typeof(A),IT,GT,pad}(A)
3131
end

0 commit comments

Comments
 (0)