Passing a const-reference to blaze::data() results in compiler error

Issue #237 resolved
Mikhail Katliar created an issue

Example:

#include <blaze/Math.h>

int main(int, char **)
{
    blaze::StaticMatrix<double, 3, 2> const m;
    data(m); // ERROR
    m.data(); // OK

    return 0;
}

Comments (5)

  1. Klaus Iglberger

    Hi Mikhail!

    Thanks a lot for creating this bug report. You are correct, this is obviously an error in Blaze. We will fix the problem immediately.

    Best regards,

    Klaus!

  2. Klaus Iglberger

    Commit c305971 fixes the free data() for dense matrices. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.6.

  3. Log in to comment