From 8e55ab50725d9a9a5acfcc3264803679fb12ad44 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 29 Oct 2013 17:43:38 +1100 Subject: [PATCH] AP_Math: fixed zero function for integer vectors --- libraries/AP_Math/vector3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/vector3.h b/libraries/AP_Math/vector3.h index ac1395ee87..d2db6b19d0 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