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)...) {}