Opened 10 years ago
Closed 10 years ago
#3250 closed defect (fixed)
Problem with end expression
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.3 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: |
Description
When testing ThermoPower.Test.DistributedParameterComponents.TestRefrigerantEvaporator
, OMC complains that
Error: 'end' can not be used outside array subscripts. Error: Variable gasFlow.T[end:(-1):1] not found in scope ThermoPower.Test.DistributedParameterComponents. TestRefrigerantEvaporator.
It seems to me that the end
expression shows up precisely with an array subscript, so I am a bit puzzled.
Change History (2)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in r25517. The model also seems to flatten without any other issues now, except for some asserts triggering (which might be correct from what I can see).