Skip to content

Commit b7a286e

Browse files
WIP
1 parent 4f4092d commit b7a286e

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
@@ -249,8 +249,8 @@ namespace xsimd
249249
}
250250

251251
// div
252-
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>
253-
XSIMD_INLINE batch<T, A> div(batch<T, A> const& self, batch<T, A> const& other, requires_arch<altivec>) noexcept
252+
template <class A>
253+
XSIMD_INLINE batch<float, A> div(batch<float, A> const& self, batch<float, A> const& other, requires_arch<altivec>) noexcept
254254
{
255255
return vec_mul(self.data, vec_re(other.data));
256256
}

0 commit comments

Comments
 (0)