[simd] Set the homogeneous coord in the csvf test

The homogeneous coord was not being initialized and thus was picking up
rubbish from the stack. This is why the test would succeed in some
circumstances but fail in others.
This commit is contained in:
Bill Currie 2021-12-26 12:22:46 +09:00
parent 22c67fc268
commit c11a930436

View file

@ -103,6 +103,7 @@ main (int argc, const char **argv)
for (j = 0; j < 4; j++) {
VectorSet (rnd (&mt), rnd (&mt), rnd (&mt), cloud[j]);
cloud[j][3] = 1;
}
cc = CircumSphere_vf (cloud, 4);
if (cc.radius < 0) {