Skip to content

Commit

Permalink
Attempt to work around MSVC ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Feb 6, 2025
1 parent 26a447a commit 5521059
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/Add/TestAdd-VS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "TestAdd.hpp"


/*TEMPLATE_TEST_CASE("Vector + Scalar", "[add]"
TEMPLATE_TEST_CASE("Vector + Scalar", "[add]"
, NUMBERS_ALL()
, VECTORS_ALL(1)
, VECTORS_ALL(2)
Expand Down Expand Up @@ -159,4 +159,4 @@
REQUIRE(r == rCheck);
}
}
}*/
}
4 changes: 2 additions & 2 deletions test/Add/TestAdd-VV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "TestAdd.hpp"


/*TEMPLATE_TEST_CASE("Vector + Vector", "[add]"
TEMPLATE_TEST_CASE("Vector + Vector", "[add]"
, NUMBERS_ALL()
, VECTORS_ALL(1)
, VECTORS_ALL(2)
Expand Down Expand Up @@ -155,4 +155,4 @@
REQUIRE(r == rCheck);
}
}
}*/
}
4 changes: 2 additions & 2 deletions test/Add/TestAdd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


/// Scalar + Scalar (either dense or sparse, wrapped or not)
/*template<bool SATURATE, CT::Scalar LHS, CT::Scalar RHS, CT::Scalar OUT> LANGULUS(INLINED)
template<bool SATURATE, CT::Scalar LHS, CT::Scalar RHS, CT::Scalar OUT> LANGULUS(INLINED)
void ControlAdd(const LHS& lhs, const RHS& rhs, OUT& out) noexcept {
auto& fout = FundamentalCast(out);
fout = SIMD::Inner::AddFallback<SATURATE>(FundamentalCast(lhs), FundamentalCast(rhs));
Expand Down Expand Up @@ -48,4 +48,4 @@ void ControlAdd(const LHS& lhs, const RHS& rhsArray, OUT& out) noexcept {
template<bool SATURATE, CT::Vector LHS, CT::Scalar RHS, CT::Vector OUT> LANGULUS(INLINED)
void ControlAdd(const LHS& lhsArray, const RHS& rhs, OUT& out) noexcept {
ControlAdd<SATURATE>(rhs, lhsArray, out);
}*/
}

0 comments on commit 5521059

Please sign in to comment.