We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d917a32 commit d455689Copy full SHA for d455689
source/Matrices/TMatrix.inl
@@ -1196,7 +1196,9 @@ namespace Langulus::Math
1196
///
1197
LANGULUS(INLINED)
1198
constexpr auto operator == (const CT::MatrixBased auto& lhs, const CT::MatrixBased auto& rhs) noexcept {
1199
- if constexpr (lhs.Columns != rhs.Columns or lhs.Rows != rhs.Rows)
+ using LHS = Deref<decltype(lhs)>;
1200
+ using RHS = Deref<decltype(rhs)>;
1201
+ if constexpr (LHS::Columns != RHS::Columns or LHS::Rows != RHS::Rows)
1202
return false;
1203
else
1204
return SIMD::Equals(lhs.mArray, rhs.mArray);
0 commit comments