You need to sign in or sign up before continuing.
Commit 39eef90b authored by Davis King's avatar Davis King
Browse files

Minor change to avoid compiler error in clang

parent 8ea4fc3f
...@@ -23,6 +23,12 @@ namespace dlib ...@@ -23,6 +23,12 @@ namespace dlib
simd4f(const __m128& val):x(val) {} simd4f(const __m128& val):x(val) {}
simd4f(const simd4i& val):x(_mm_cvtepi32_ps(val)) {} simd4f(const simd4i& val):x(_mm_cvtepi32_ps(val)) {}
inline simd4f& operator=(const simd4i& val)
{
x = simd4f(val);
return *this;
}
simd4f& operator=(const __m128& val) simd4f& operator=(const __m128& val)
{ {
x = val; x = val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment