-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MatrixGain
array parameter does not work
#213
Comments
get_u0_p
tries to convert to Union typevarmap_to_vars
tries to convert to Union type
varmap_to_vars
tries to convert to Union typeMatrixGain
array parameter does not work
@ven-k is it possible to define components with |
I can confirm that the error goes away with the old implementation of |
RN, any input to the component will have to be either a parameter or a variable. |
This would be confusing since they cannot be modified the same way as standard parameters. In general, it would be good to let the |
The issue isn't because of MatrixGain; but it triggers it. The error stems from the fact that the In the above example,
In all other cases so far convert(, ) would return a 1.0 or 0.0 prompting no errors. This isn't an issue with MSL@1, as use_support wasn't a parameter. Footnotes |
Ideally, |
This is fixed on the latest MTK and MTKStdlib. |
The example below used to work fine (MTKstdlib v1), but now errors with
The problem is related to the parameter
MatrixGain.K
, which in MTKstdlib v1 was a hard-coded constant, while in v2 it's a parameterThe text was updated successfully, but these errors were encountered: