1
0
Fork 0

One last(?) MSVC fix

This commit is contained in:
Erik Hofman 2016-12-15 20:08:25 +01:00
parent e845dab6e0
commit 8b466cb207

View file

@ -196,7 +196,7 @@ printf("agl: %7.6f, gear-z: %7.6f, comp: %f\n", agl, gear[Z], gear_comp);
float u = UVW_body[U]; float u = UVW_body[U];
float v = UVW_body[V]; float v = UVW_body[V];
float w = UVW_body[W]; float w = UVW_body[W];
simd4_t<float,3> dUVW = FXYZ + gb; simd4_t<float,4> dUVW = FXYZ + gb;
dUVW[U] += r*v - q*w; dUVW[U] += r*v - q*w;
dUVW[V] += -r*u + p*w; dUVW[V] += -r*u + p*w;
dUVW[W] += q*u - p*v; dUVW[W] += q*u - p*v;