#3109 closed defect (fixed)
asserts are evaluated too early in certain cases
| Reported by: | Lennart Ochel | Owned by: | Lennart Ochel | 
|---|---|---|---|
| Priority: | high | Milestone: | 1.9.4 | 
| Component: | Backend | Version: | trunk | 
| Keywords: | Cc: | dersh@… | 
Description
There is a problem with too early evaluated asserts if e.g. parameters are evaluated during initialization:
model test parameter Real p(fixed=false, min=1, max=2); initial equation p = 1.5; end test;
This example will display
Variable p out of [min, max] interval: p>= 1.0 and p <= 2.0 has value: 0
Change History (5)
comment:1 by , 11 years ago
| Cc: | added | 
|---|
comment:2 by , 10 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
comment:3 by , 10 years ago
| Milestone: | Future → 1.9.4 | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    
This is fixed.