File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcxx/include/experimental/__simd Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ struct __simd_storage<_Tp, simd_abi::__vec_ext<_Np>> {
4040 _Tp __data __attribute__ ((__vector_size__(std::__bit_ceil((sizeof (_Tp) * _Np)))));
4141
4242 _LIBCPP_HIDE_FROM_ABI _Tp __get (size_t __idx) const noexcept {
43- _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (__idx >= 0 && __idx < _Np, " Index is out of bounds" );
43+ _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (__idx < _Np, " Index is out of bounds" );
4444 return __data[__idx];
4545 }
4646 _LIBCPP_HIDE_FROM_ABI void __set (size_t __idx, _Tp __v) noexcept {
47- _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (__idx >= 0 && __idx < _Np, " Index is out of bounds" );
47+ _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS (__idx < _Np, " Index is out of bounds" );
4848 __data[__idx] = __v;
4949 }
5050};
You can’t perform that action at this time.
0 commit comments