SymmetricMatrix<StaticMatrix<...>> is not recognized as static

Issue #368 resolved
Mikhail Katliar created an issue


using namespace blaze;
using M = SymmetricMatrix<StaticMatrix<double, 2, 2>>;
static_assert(IsStatic_v<M>); // <-- Compile-time assertion fails

I would expect IsStatic_v<M> in the above example to evaluate to true, since the size of the matrix is known at compile-time.

Comments (5)

  1. Klaus Iglberger

    Hi Misha!

    Thanks for pointing out this defect. You are correct, IsStatic currently does not recognize any adaptors as “static” and based on the class documentation it is indeed expected that it does. We will fix the problem as quickly as possible. Thanks again for pointing this out,

    Best regards,


  2. Klaus Iglberger

    Commit 63930c8 fixes the IsStatic type trait. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.8.

  3. Log in to comment