From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- filter-kalman/kalman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filter-kalman') diff --git a/filter-kalman/kalman.cpp b/filter-kalman/kalman.cpp index 559f1ea5..744c732b 100644 --- a/filter-kalman/kalman.cpp +++ b/filter-kalman/kalman.cpp @@ -122,8 +122,8 @@ void kalman::fill_process_noise_cov_matrix(StateMatrix &target, double dt) const double sigma_angle = s.process_sigma_rot; double a_pos = sigma_pos * sigma_pos * dt; double a_ang = sigma_angle * sigma_angle * dt; - static constexpr double b = 20; - static constexpr double c = 1.; + constexpr double b = 20; + constexpr double c = 1.; for (int i = 0; i < 3; ++i) { target(i, i) = a_pos; -- cgit v1.2.3