- edited description
SymmetricMatrix<StaticMatrix<...>> is not recognized as static
Issue #368
resolved
Example:
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)
-
reporter -
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,
Klaus!
-
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
- changed status to resolved
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. - Log in to comment