Skip to content

Commit 48e22a1

Browse files
committed
Fix incorrect field access
1 parent 4da00e5 commit 48e22a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kfr/simd/vec.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ struct alignas(internal::vec_alignment<T, N_>) vec
496496
KFR_ENABLE_IF(index < 1024 && !compound_type_traits<T>::is_scalar)>
497497
KFR_MEM_INTRINSIC constexpr void set(csize_t<index>, const value_type& s) CMT_NOEXCEPT
498498
{
499-
this->s[index] = s;
499+
this->v[index] = s;
500500
}
501501

502502
struct element

0 commit comments

Comments
 (0)