Calling rows() function for a transpose expression causes compilation error

Issue #155 resolved
Mikhail Katliar created an issue

Example:

#include <blaze/Math.h>


int main(int, char **)
{
    blaze::DynamicMatrix<double> m(3, 4);

    rows(m);    // OK
    rows(trans(m));    // Compilation error

    return 0;
}

Comments (5)

  1. Klaus Iglberger

    Hi Mikhail!

    Thanks a lot for pointing out this defect. It is easy to reproduce, but unfortunately did not show up during our extensive test runs. As I'm the one missing this one, I apologize for the oversight and the inconvenience.

    Best regards,

    Klaus!

  2. Klaus Iglberger

    Commit a78c852 implements the necessary fix to resolve the compilation error. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.3.

  3. Log in to comment