diff --git a/libraries/AP_Math/vector3.h b/libraries/AP_Math/vector3.h index ac1395ee87d..d2db6b19d09 100644 --- a/libraries/AP_Math/vector3.h +++ b/libraries/AP_Math/vector3.h @@ -153,7 +153,7 @@ public: // zero the vector void zero() { - x = y = z = 0.0; + x = y = z = 0; } // returns the normalized version of this vector