Opened 7 years ago
Closed 7 years ago
#4662 closed defect (fixed)
pre() does not return the correct type
Reported by: | Francesco Casella | Owned by: | Mahder Alemseged Gebremedhin |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
Please check
The following error is reported:
Error: Cannot resolve type of expression ' pre(triggeredAdd.y) + triggeredAdd.u '. The operands have types ' <PodCref> + Integer ' in component: Addition operations involving an array and a scalar are not valid in Modelica. Try using elementwise operator '.+'.
Why is pre(triggeredAdd.y) of type <PodCref> and not Integer?
Change History (3)
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Fixed in aa363fe. The model now fails in NFScalarize for some unknown reason.
Note:
See TracTickets
for help on using tickets.
Fixed in 117eefb.