-
-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
As noted in #2995 (comment), callable parameters are a great new feature, that don't yet work inside of @mtkmodel.
@mtkmodel MyModel begin
@parameters begin
(interp::Tspline)(..)
end
endyields MethodError: Cannot convert an object of type Expr to an object of type Symbol while
@mtkmodel MyModel begin
@variables begin
x(t)
end
@parameters begin
interp(::Float64)
end
endyields AssertionError: Multiple independent variables are used in the model Symbol Symbol (seemingly the ::Float64 is treated like the independent variable t)
Metadata
Metadata
Assignees
Labels
No labels