Parameter is not evaluated at runtime
y in the following model is never evaluated at run-time. It is part of the BackendDAE structure but it seems the SimCode chooses to not evaluate it. I need something similar for ticket:3539 since now the loadResource call will be ignored.
model M
function g
input Integer i;
output Integer o=i+1;
algorithm
assert(false, "abc");
end g;
parameter Integer y = g(14);
end M;
Change History
(4)
Owner: |
changed from somebody to Martin Sjölund
|
Status: |
new → accepted
|
Resolution: |
→ fixed
|
Status: |
accepted → closed
|
Fixed in PR2117