Skip to content

Commit 9b40d31

Browse files
committed
add deprecation for Interpolation(itp; name)
1 parent 4904be8 commit 9b40d31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Blocks/sources.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,8 @@ function Interpolation(interp_type, u, x, args...; name)
758758
Interpolation(; itp, name)
759759
end
760760

761+
@deprecate Interpolation(itp; name) Interpolation(; itp, name)
762+
761763
function Interpolation(; itp, name)
762764
@parameters (interpolator::typeof(itp))(..) = itp
763765
@named input = RealInput()

0 commit comments

Comments
 (0)