Opened 13 years ago
Last modified 9 years ago
#1644 new defect
Type-check when-equations
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Version: | ||
Keywords: | Cc: | Martin Sjölund |
Description
Consider the following:
{{{model M
parameter Real r = 1.5;
equation
when sample(0.5,0.1) then
r = time;
end when;
end M;}}}
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
You cannot assign to a parameter during runtime is the proper error message ;)
comment:3 by , 9 years ago
Cc: | sjoelund.se, → sjoelund.se |
---|---|
Milestone: | → Future |
Note:
See TracTickets
for help on using tickets.
Error: Too many equations, overdetermined system. The model has 2 equation(s) and 1 variable(s)
Actually, the message is correct. Only the counting of the equation and variables is wrong.