Fix compiling error when using clang. The detail of the error is:

"suggest braces around initialization of subobject [-Werror,-Wmissing-braces]"
enforce_failed
Liu Yiqun 8 years ago
parent 5991a35e58
commit 27d7812b87

@ -594,7 +594,7 @@ struct StridePadding {
float32x4_t s1 = vdupq_n_f32(0.f);
for (int s = 0; s < step; s++) {
float32x4_t s0 = vld1q_f32(input);
float32x4x2_t v = {s0, s1};
float32x4x2_t v = {{s0, s1}};
vst2q_f32(inputPadding, v);
input += 4;
inputPadding += 8;

Loading…
Cancel
Save