Opened 10 years ago

Closed 10 years ago

#3366 closed defect (invalid)

Modifying a variable with a tuple result fails

Reported by: Martin Sjölund Owned by: somebody
Priority: high Milestone:
Component: Frontend Version: trunk
Keywords: Cc: Per Östlund

Description

When a function returns 2 or more outputs, its results cannot be used as a modifier. See the attached model.

Attachments (1)

TupleModification.mo (3.8 KB ) - added by Martin Sjölund 10 years ago.

Download all attachments as: .zip

Change History (2)

by Martin Sjölund, 10 years ago

Attachment: TupleModification.mo added

comment:1 by Martin Sjölund, 10 years ago

Milestone: 1.9.3
Resolution: invalid
Status: newclosed

Never mind. I forgot to check the types closely. The error-message contains the tuple, but the problem is the first type does not match.

Note: See TracTickets for help on using tickets.