Changes between Initial Version and Version 1 of Ticket #2639
- Timestamp:
- 2014-03-24T13:49:29Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2639 – Description
initial v1 1 1 I want to use SVD from LAPACK but get this error about tuples assignment. I compiled on OM version 1.8.1 2 2 {{{#!mo 3 3 function SVDRLS 4 4 import Modelica.Math.Matrices; … … 10 10 (sigmasvd,Usvd,VTsvd):=Matrices.singularValues(A); 11 11 end SVDRLS; 12 12 }}} 13 {{{ 13 14 [<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[:, :]) 14 15 [<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 }}}