Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
SadiinsoSnowfall committed Jan 27, 2025
1 parent a5a3e69 commit 359a662
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/eve/module/core/regular/impl/is_less.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace eve::detail
else
{
if constexpr (scalar_value<T>) return as_logical_t<T>(a < b);
else return map([](auto e, auto f) { return e < f; }, a, b);
else return map([]<typename E>(E e, E f){ return as_logical_t<E>(e < f); }, a, b);
}
}
}
2 changes: 1 addition & 1 deletion include/eve/module/core/regular/impl/is_less_equal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace eve::detail
else
{
if constexpr (scalar_value<T>) return as_logical_t<T>(a <= b);
else return map([](auto e, auto f) { return e <= f; }, a, b);
else return map([]<typename E>(E e, E f){ return as_logical_t<E>(e <= f); }, a, b);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace eve::detail
else if constexpr (cat == category::int64x2) return vcltq_s64(a, b);
else if constexpr (cat == category::uint64x2) return vcltq_u64(a, b);
}
else return map([](auto e, auto f){ return e < f; }, a, b);
else return map([]<typename E>(E e, E f){ return as_logical_t<E>(e < f); }, a, b);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace eve::detail
else if constexpr (cat == category::int64x2) return vcleq_s64(a, b);
else if constexpr (cat == category::uint64x2) return vcleq_u64(a, b);
}
else return map([](auto e, auto f){ return e <= f; }, a, b);
else return map([]<typename E>(E e, E f){ return as_logical_t<E>(e <= f); }, a, b);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

namespace eve::detail
{
template<callable_options O, conditional_expr C, arithmetic_scalar_value T, typename N>
EVE_FORCEINLINE as_logical_t<wide<T, N>> is_less_equal_(EVE_REQUIRES(sse2_), C const& mask, O const& opts, wide<T, N> a, wide<T, N> b) noexcept
template<callable_options O, arithmetic_scalar_value T, typename N>
EVE_FORCEINLINE as_logical_t<wide<T, N>> is_less_equal_(EVE_REQUIRES(sse2_), O const& opts, wide<T, N> a, wide<T, N> b) noexcept
requires x86_abi<abi_t<T, N>>
{
if constexpr (O::contains(almost))
Expand Down

0 comments on commit 359a662

Please sign in to comment.