mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Another one fix for MSVS2017
This commit is contained in:
@ -334,7 +334,8 @@ static inline float _castu32_f32(uint32_t a) {
|
||||
}
|
||||
|
||||
static inline float _mm256_extract_float32(__m256 a, const int index) {
|
||||
return _castu32_f32(_mm256_extract_epi32(_mm256_castps_si256(a), index));
|
||||
return a.m256_f32[index];
|
||||
//return _castu32_f32(_mm256_extract_epi32(_mm256_castps_si256(a), index));
|
||||
}
|
||||
|
||||
#else // Linux GCC/Clang
|
||||
|
Reference in New Issue
Block a user