#2744 closed defect (duplicate)
pre(x) outside a when clause
Reported by: | Lennart Ochel | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Willi Braun |
Description
The following model simulates without any error message:
model test Real x(start=1) = pre(x)+der(x); end test;
x
is a continuous time variable and it is not allowed to use pre for it outside a when clause.
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
Backend of course. The frontend does not know if it is discrete-time or not.
Note:
See TracTickets
for help on using tickets.
Duplicate see #2620.
The Question is were should we detect that? In the Backend or Frontend?