diff --git a/include/eve/module/core/regular/logical_and.hpp b/include/eve/module/core/regular/logical_and.hpp index 0e9607ba95..4acc063a16 100644 --- a/include/eve/module/core/regular/logical_and.hpp +++ b/include/eve/module/core/regular/logical_and.hpp @@ -75,7 +75,7 @@ namespace eve namespace detail { template - EVE_FORCEINLINE constexpr auto logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept + EVE_FORCEINLINE constexpr common_logical_t logical_and_(EVE_REQUIRES(cpu_), O const&, T a, U b) noexcept { if constexpr ((scalar_value || std::same_as) && (scalar_value || std::same_as)) return a && b; else if constexpr (std::same_as) return logical_and(U{a}, b);