Skip to content

Commit 30e341b

Browse files
committed
refactor: add macro compatible interface for Interpolation
1 parent 19b8938 commit 30e341b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blocks/sources.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ function Interpolation(interp_type, u, x, args...; name)
758758
Interpolation(itp; name)
759759
end
760760

761-
function Interpolation(itp; name)
761+
function Interpolation(; itp, name)
762762
@parameters (interpolator::typeof(itp))(..) = itp
763763
@named input = RealInput()
764764
@named output = RealOutput()

0 commit comments

Comments
 (0)