Skip to content

Commit 391255b

Browse files
WIP
1 parent d54c9e3 commit 391255b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/arch/common/xsimd_common_math.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ namespace xsimd
21172117
template <class Op, class A, class T>
21182118
XSIMD_INLINE T reduce(Op, batch<T, A> const& self, std::integral_constant<unsigned, 1>) noexcept
21192119
{
2120-
return first(self);
2120+
return kernel::first(self, A{});
21212121
}
21222122

21232123
template <class Op, class A, class T, unsigned Lvl>

0 commit comments

Comments
 (0)