Opened 13 years ago
Last modified 12 years ago
#1738 closed defect (fixed)
reinit on parameter gives no error and check Model returns nothing
Reported by: | Peter Aronsson | Owned by: | Peter Aronsson |
---|---|---|---|
Priority: | critical | Milestone: | 1.9.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: | Peter Aronsson |
Description
The following model checked with Check Model in OMEdit (v1.8.0) gives no error message (reinit of parameters not allowed). In fact, it returns nothing in the text dialog that appears.
model Test
parameter Real x=0.1;
equation
when time > 1 then
reinit(x, 2*x);
end when;
end Test;
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Cc: | petar, → petar |
---|---|
Component: | Instantiation → Frontend |
Milestone: | → 1.9.0 |
Note:
See TracTickets
for help on using tickets.
Fixed in r11908, see testcases ReinitInvalidType2 and ReinitInvalidType3 in mofiles.