Opened 16 years ago

Last modified 14 years ago

#1049 closed defect (fixed)

Tuple function calls with non tuple left side (from MathCore)

Reported by: krsta Owned by: krsta
Priority: critical Milestone:
Component: Version:
Keywords: Cc: krsta, perost

Description

Modelica standard library uses first example below(from 3.0 spec)

Function "eigen" to compute eigenvalues and optionally eigenvectors may be called in the following ways:

ev = eigen(A); // calculate eigenvalues
x = isStable(eigen(A)); // used in an expression
(ev, vr) = eigen(A) // calculate eigenvectors
(ev,vr,vl) = eigen(A) // and also left eigenvectors
(ev,,vl) = eigen(A) // no right eigenvectors

This is not implemented in openmodelica.

Change History (2)

comment:2 Changed 14 years ago by sjoelund.se

This was fixed in r5900, with testcase mofiles/TupleSingleAssign.mo

Note: See TracTickets for help on using tickets.