Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Fix compile error on clang #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vector_size.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class simd<T, simd_abi::vector_size<N>> {
SIMD_ALWAYS_INLINE inline simd() = default;
SIMD_ALWAYS_INLINE inline static constexpr int size() { return N / sizeof(T); }
SIMD_ALWAYS_INLINE inline simd(T value) { for(int i=0; i<size(); i++) reinterpret_cast<T*>(&m_value)[i] = value; }
explicit SIMD_ALWAYS_INLINE inline simd(const native_type& value):m_value(value) {}
SIMD_ALWAYS_INLINE explicit inline simd(const native_type& value):m_value(value) {}
SIMD_ALWAYS_INLINE inline
simd(storage_type const& value) {
copy_from(value.data(), element_aligned_tag());
Expand Down