summaryrefslogtreecommitdiffhomepage
path: root/filter-kalman
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-22 12:54:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:01:53 +0200
commitf50ac3549d6a7f1199fa012e4b03f581bc8d305b (patch)
tree50ff044f1c618119c88544709808f533ed02225e /filter-kalman
parentd61eb905ae3fa161d50821d01ee47915713e89c2 (diff)
core, modules: modernize syntax only
Use more C++17 features where this helps any.
Diffstat (limited to 'filter-kalman')
-rw-r--r--filter-kalman/kalman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter-kalman/kalman.h b/filter-kalman/kalman.h
index decd540d..094e106c 100644
--- a/filter-kalman/kalman.h
+++ b/filter-kalman/kalman.h
@@ -125,8 +125,8 @@ struct settings : opts {
settings() :
opts("kalman-filter"),
- noise_rot_slider_value(b, "noise-rotation-slider", slider_value(0.5, 0., 1.)),
- noise_pos_slider_value(b, "noise-position-slider", slider_value(0.5, 0., 1.))
+ noise_rot_slider_value(b, "noise-rotation-slider", { .5, 0., 1. }),
+ noise_pos_slider_value(b, "noise-position-slider", { .5, 0., 1. })
{}
};