xsimd icon indicating copy to clipboard operation
xsimd copied to clipboard

batch should be trivially default constructible

Open zhihaoy opened this issue 5 years ago • 0 comments

batch_type x[8] = {};

It is surprising that the code above does not initialize x to zeros. This can be fixed by making batch() = default;

zhihaoy avatar Apr 21 '20 22:04 zhihaoy