Skip to content

Commit ee7b2e3

Browse files
committed
remove another Core.Inference call
1 parent e477253 commit ee7b2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridded/gridded.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function GriddedInterpolation(::Type{TWeights}, knots::NTuple{N,GridIndex}, A::A
2828
for _ in 2:N
2929
c *= c
3030
end
31-
T = Core.Inference.return_type(*, Tuple{typeof(c), TCoefs})
31+
T = Base.promote_op(*, typeof(c), TCoefs)
3232

3333
GriddedInterpolation{T,N,TCoefs,IT,typeof(knts),pad}(knts, A)
3434
end

0 commit comments

Comments
 (0)