Skip to content

Commit 727d48c

Browse files
riscv
1 parent 34b6bec commit 727d48c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xsimd/arch/xsimd_rvv.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,14 +742,14 @@ namespace xsimd
742742
template <class A, class T, detail::rvv_enable_all_t<T> = 0>
743743
XSIMD_INLINE batch<T, A> max(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<rvv>) noexcept
744744
{
745-
return detail::rvvmax(lhs, rhs);
745+
return detail::rvvmax(rhs, lhs);
746746
}
747747

748748
// min
749749
template <class A, class T, detail::rvv_enable_all_t<T> = 0>
750750
XSIMD_INLINE batch<T, A> min(batch<T, A> const& lhs, batch<T, A> const& rhs, requires_arch<rvv>) noexcept
751751
{
752-
return detail::rvvmin(lhs, rhs);
752+
return detail::rvvmin(rhs, lhs);
753753
}
754754

755755
// neg

0 commit comments

Comments
 (0)