Opened 14 years ago

Closed 12 years ago

#1485 closed defect (fixed)

Cyclic dependencies not detected for conditional parameter or constants

Reported by: Per Östlund Owned by: Per Östlund
Priority: high Milestone:
Component: Frontend Version:
Keywords: Cc: Per Östlund

Description

Cyclic dependencies are only detected for parameter or constants, or variables with conditions, but not for parameters or constants with conditions:

model M
  parameter Boolean a = true if b;
  parameter Boolean b = true if a;
end M;

Inst.getElementDependencies needs to be fixed to handle this.

Change History (1)

comment:1 by Per Östlund, 12 years ago

Cc: perost, perost → perost
Component: Frontend
Resolution: fixed
Status: acceptedclosed

I think I may have fixed this a while ago. Anyway, the cyclic dependencies are detected now.

Note: See TracTickets for help on using tickets.