-
-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Also means these cannot be used in Catalyst, as we automatically calls get_unit on all parameters when we perform unit checks.
Example:
using ModelingToolkit
ts = collect(0.0:0.1:10.0)
spline = LinearInterpolation(ts .^ 2, ts)
Tspline = typeof(spline)
@parameters (interp::Tspline)(..)
@parameters p
ModelingToolkit.get_unit(p) # 1.0
ModelingToolkit.get_unit(interp) # ERROR: ArgumentError: Unsupported value interp⋆.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working