Menu

#66 Wrong assignment between Array, and TinyMatrix for a certain layout

v1.0 (example)
closed
nobody
None
5
2018-09-21
2014-10-23
No

I believe that I found a bug in the assignment of a TinyMatrix into a sub-array of non-standard storage order.

The attached code demonstrates it in detail.

In short:
Take a rank-3 Array and assign a TinyMatrix into a subarray of appropriate shape. This will work if the Array has C-, or Fortran-order. However, it will fail if the Array has a different storage-order.

However, it will work, if you replace the TinyMatrix by another Array.

The issue was observed in Blitz-0.10 with both GCC and Clang.

Best, Andreas

1 Attachments

Discussion

  • Sylwester Arabas

    • status: open --> closed
     
  • Sylwester Arabas

     

Log in to post a comment.

MongoDB Logo MongoDB