Skip to content

Commit

Permalink
fix resolution problem
Browse files Browse the repository at this point in the history
  • Loading branch information
SadiinsoSnowfall committed Sep 24, 2024
1 parent 8f95b6b commit da4a721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/eve/module/core/regular/logical_and.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace eve
namespace detail
{
template<callable_options O, typename T, typename U>
EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept
EVE_FORCEINLINE constexpr common_logical_t<T, U> logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept
{
if constexpr ((scalar_value<T> || std::same_as<T, bool>) && (scalar_value<U> || std::same_as<U, bool>)) return a && b;
else if constexpr (std::same_as<T, bool>) return logical_and(U{a}, b);
Expand Down

0 comments on commit da4a721

Please sign in to comment.