Opened 15 years ago

Last modified 15 years ago

#1226 closed defect (fixed)

Modelica.Math.Matrices.inv fails

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund, Martin Sjölund

Description

With MSL 2.2 or 3.1 loaded:

{{{model M

Real r[2,2] = {{1,2},{3,4}};
Real r2[2,2] = r*Modelica.Math.Matrices.inv(r);

end M;}}}

Error: Incompatible argument types to operation matrix multiplication, left type: Real 2, 2, right type: Real :, :

If we skip the matrix multiplication, the backend generates erroneous code (plus tries to link with non-existing library).

Change History (1)

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

Fixed in r5527

Note: See TracTickets for help on using tickets.