Opened 17 years ago

Last modified 17 years ago

#136 closed defect (fixed)

'transpose' function works wrong in flattening

Reported by: cbelyaev Owned by: cbelyaev
Priority: critical Milestone:
Component: Version:
Keywords: Cc: cbelyaev, Adrian Pop

Description


Attachments (1)

test.mo (130 bytes ) - added by cbelyaev 17 years ago.
Sample of transposing issue

Download all attachments as: .zip

Change History (4)

by cbelyaev, 17 years ago

Attachment: test.mo added

Sample of transposing issue

comment:1 by cbelyaev, 17 years ago

Created an attachment (id=22)
Sample of transposing issue

When matrix's 1st dim is less then 2nd dim 'transpose' function works wrong.
Derived flat modelica code can't be compiled.

On the other hand, when 1st dim is greater or equal to 2nd dim everything works fine.

comment:2 by Adrian Pop, 17 years ago

Revision 3044 in Subversion fixes bug 170:

  • transpose now works even if the first matrix dimension is bigger than the second matrix dimension
  • added Transpose.mo to the testsuite so we don't run into this error again

Cheers,
Adrian Pop/

comment:3 by Adrian Pop, 17 years ago

A new version for Windows that fixes the transpose bug is here:
http://www.ida.liu.se/~pelab/modelica/OpenModelica/OMC/nightly-builds/

Cheers,
Adrian Pop/

Note: See TracTickets for help on using tickets.