Skip to content

Commit ffa8d03

Browse files
++
1 parent 2de3a6b commit ffa8d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xsimd/arch/xsimd_altivec.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,12 @@ namespace xsimd
306306
template <class A, class T, class = typename std::enable_if<std::is_scalar<T>::value, void>::type>
307307
XSIMD_INLINE batch_bool<T, A> eq(batch<T, A> const& self, batch<T, A> const& other, requires_arch<altivec>) noexcept
308308
{
309-
return vec_cmpeq(self, other);
309+
return vec_cmpeq(self.data, other.data);
310310
}
311311
template <class A, class T, class = typename std::enable_if<std::is_scalar<T>::value, void>::type>
312312
XSIMD_INLINE batch_bool<T, A> eq(batch_bool<T, A> const& self, batch_bool<T, A> const& other, requires_arch<altivec>) noexcept
313313
{
314-
return vec_cmpeq(self, other);
314+
return vec_cmpeq(self.data, other.data);
315315
}
316316

317317
// first

0 commit comments

Comments
 (0)