提交 27d7812b 编写于 作者: L Liu Yiqun

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

"suggest braces around initialization of subobject [-Werror,-Wmissing-braces]"
上级 5991a35e
...@@ -594,7 +594,7 @@ struct StridePadding { ...@@ -594,7 +594,7 @@ struct StridePadding {
float32x4_t s1 = vdupq_n_f32(0.f); float32x4_t s1 = vdupq_n_f32(0.f);
for (int s = 0; s < step; s++) { for (int s = 0; s < step; s++) {
float32x4_t s0 = vld1q_f32(input); float32x4_t s0 = vld1q_f32(input);
float32x4x2_t v = {s0, s1}; float32x4x2_t v = {{s0, s1}};
vst2q_f32(inputPadding, v); vst2q_f32(inputPadding, v);
input += 4; input += 4;
inputPadding += 8; inputPadding += 8;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册