Changes between Initial Version and Version 1 of Ticket #2639


Ignore:
Timestamp:
2014-03-24T13:49:29Z (11 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2639 – Description

    initial v1  
    11I want to use SVD from LAPACK but get this error about tuples assignment. I compiled on OM version 1.8.1
    2 
     2{{{#!mo
    33function SVDRLS
    44  import Modelica.Math.Matrices;
     
    1010(sigmasvd,Usvd,VTsvd):=Matrices.singularValues(A);
    1111end SVDRLS;
    12 
     12}}}
     13{{{
    1314[<interactive>:10:1-10:50:writable] Error: Type mismatch in assignment in (sigmasvd,Usvd,VTsvd) := Modelica.Math.Matrices.singularValues({{A[1,1],A[1,2]},{A[2,1],A[2,2]},{A[3,1],A[3,2]}}) of (Real[3, 2], Real[3, 3], Real[2, 2]) := (Real[:], Real[:, :], Real[:, :])
    1415[<interactive>:10:1-10:50:writable] Error: Tuple assignment only allowed when rhs is function call (in Modelica.Math.Matrices.singularValues({{A[1,1],A[1,2]},{A[2,1],A[2,2]},{A[3,1],A[3,2]}}))
     16}}}