From fc47cd4d9966e12bb3ef4d0e03f1852e3a841a01 Mon Sep 17 00:00:00 2001 From: Melvin Alvarez Date: Fri, 23 Jan 2026 18:41:29 +0100 Subject: [PATCH] fix(optimal_control): type annotation in ou_estimator test - Add explicit f64 type to dt variable to fix ambiguous sqrt() call - Kalman filter tests passing successfully --- src/optimal_control/ou_estimator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimal_control/ou_estimator.rs b/src/optimal_control/ou_estimator.rs index 3b46da7..d3f3b9b 100644 --- a/src/optimal_control/ou_estimator.rs +++ b/src/optimal_control/ou_estimator.rs @@ -196,7 +196,7 @@ mod tests { let true_kappa = 0.5; let true_theta = 0.0; let true_sigma = 0.2; - let dt = 1.0 / 252.0; + let dt: f64 = 1.0 / 252.0; let n = 500; let mut rng = thread_rng();