From 79a9e8dfad228c33471a794fb373906df5f1adb3 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Mon, 5 Dec 2016 09:19:50 +0100 Subject: [PATCH] AP_Math: Matrix_alg fix implicite cast from bool to float --- libraries/AP_Math/matrix_alg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Math/matrix_alg.cpp b/libraries/AP_Math/matrix_alg.cpp index 1fd863fa3c..6e4633955e 100644 --- a/libraries/AP_Math/matrix_alg.cpp +++ b/libraries/AP_Math/matrix_alg.cpp @@ -75,7 +75,7 @@ static void mat_pivot(float* A, float* pivot, uint8_t n) { for(uint8_t i = 0;i(i==j); } }