Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d455689

Browse files
committedJun 14, 2024·
Yet another clang build fix *sigh*
1 parent d917a32 commit d455689

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎source/Matrices/TMatrix.inl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,9 @@ namespace Langulus::Math
11961196
///
11971197
LANGULUS(INLINED)
11981198
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)
1199+
using LHS = Deref<decltype(lhs)>;
1200+
using RHS = Deref<decltype(rhs)>;
1201+
if constexpr (LHS::Columns != RHS::Columns or LHS::Rows != RHS::Rows)
12001202
return false;
12011203
else
12021204
return SIMD::Equals(lhs.mArray, rhs.mArray);

0 commit comments

Comments
 (0)
Please sign in to comment.