Commit ebb0f85f authored by Davis King's avatar Davis King

Fixed incorrect size() for simd8i.

parent d92728b3
...@@ -44,7 +44,7 @@ namespace dlib ...@@ -44,7 +44,7 @@ namespace dlib
inline simd4i low() const { return _mm256_castsi256_si128(x); } inline simd4i low() const { return _mm256_castsi256_si128(x); }
inline simd4i high() const { return _mm256_extractf128_si256(x,1); } inline simd4i high() const { return _mm256_extractf128_si256(x,1); }
inline unsigned int size() const { return 4; } inline unsigned int size() const { return 8; }
inline int32 operator[](unsigned int idx) const inline int32 operator[](unsigned int idx) const
{ {
int32 temp[8]; int32 temp[8];
......
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