@@ -1301,22 +1301,22 @@ namespace xsimd
13011301 }
13021302
13031303 // get (compile-time index): skip the slidedown when I == 0; lane 0 maps straight to the scalar move.
1304- template <class A , size_t I, class T , detail::rvv_enable_all_t <T> = 0 >
1304+ template <class A , size_t I, class T , detail::enable_arithmetic_t <T> = 0 >
13051305 XSIMD_INLINE T get (batch<T, A> const & arg, index<I>, requires_arch<rvv>) noexcept
13061306 {
13071307 XSIMD_IF_CONSTEXPR (I == 0 )
13081308 {
1309- return detail ::rvvmv_lane0 (arg);
1309+ return detail_rvv ::rvvmv_lane0 (arg);
13101310 }
13111311 return get (arg, I, rvv {});
13121312 }
13131313
1314- template <class A , size_t I, class T , detail::rvv_enable_all_t <T> = 0 >
1314+ template <class A , size_t I, class T , detail::enable_arithmetic_t <T> = 0 >
13151315 XSIMD_INLINE std::complex <T> get (batch<std::complex <T>, A> const & arg, index<I>, requires_arch<rvv>) noexcept
13161316 {
13171317 XSIMD_IF_CONSTEXPR (I == 0 )
13181318 {
1319- return std::complex <T> { detail ::rvvmv_lane0 (arg.real ()), detail ::rvvmv_lane0 (arg.imag ()) };
1319+ return std::complex <T> { detail_rvv ::rvvmv_lane0 (arg.real ()), detail_rvv ::rvvmv_lane0 (arg.imag ()) };
13201320 }
13211321 return get (arg, I, rvv {});
13221322 }
0 commit comments