Opened 9 years ago

Closed 8 years ago

#3680 closed defect (fixed)

getConnectionCount does not return connection with for loop

Reported by: Adeel Asghar Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: Interactive Environment Version: v1.9.4-dev-nightly
Keywords: Cc:

Description

If the connection is defined in the for loop like this,

for i in 1:2 loop
  connect(a1.y[i], b1.u[i]);
end for;

The getConnectionCount API doesn't count it.

Attachments (2)

M.mo (108 bytes ) - added by Adeel Asghar 9 years ago.
script.mos (79 bytes ) - added by Adeel Asghar 9 years ago.

Download all attachments as: .zip

Change History (9)

by Adeel Asghar, 9 years ago

Attachment: M.mo added

by Adeel Asghar, 9 years ago

Attachment: script.mos added

comment:1 by Adeel Asghar, 9 years ago

Owner: changed from somebody to Adrian Pop
Status: newassigned

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:4 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:5 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:6 by Adeel Asghar, 8 years ago

Owner: changed from Adrian Pop to Adeel Asghar
Status: assignedaccepted

comment:7 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in 8777f9a/OMCompiler.

Note: See TracTickets for help on using tickets.