From 0acfc8aa8681ced1cdc147ab8bd0e3704df38049 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 22 May 2022 19:49:55 +0200 Subject: [PATCH] refactor(example): `are_derivatives` renamed to `are_time_derivatives` in kalman examples --- example/kalman_filter/kalman.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example/kalman_filter/kalman.h b/example/kalman_filter/kalman.h index a034d2db..f878335b 100644 --- a/example/kalman_filter/kalman.h +++ b/example/kalman_filter/kalman.h @@ -38,20 +38,20 @@ concept QuantityOrQuantityPoint = units::Quantity || units::QuantityPoint; // TODO Should it also account for `kinds`? template -inline constexpr bool are_derivatives = false; +inline constexpr bool are_time_derivatives = false; template -inline constexpr bool are_derivatives = true; +inline constexpr bool are_time_derivatives = true; template -inline constexpr bool are_derivatives = +inline constexpr bool are_time_derivatives = units::DimensionOfT && // TODO Think on how to simplify this - are_derivatives; + are_time_derivatives; // state template - requires(sizeof...(QQPs) > 0) && (sizeof...(QQPs) <= 3) && are_derivatives + requires(sizeof...(QQPs) > 0) && (sizeof...(QQPs) <= 3) && are_time_derivatives struct state { std::tuple variables_; constexpr state(QQPs... qqps) : variables_(std::move(qqps)...) {}