From 11d9fce905f92c662feb3646c29e8274ee0e9654 Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Thu, 19 May 2022 10:46:01 -0700 Subject: [PATCH] added space after operator Example code was missing a space after the @ operator --- 13-Smoothing.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13-Smoothing.ipynb b/13-Smoothing.ipynb index c69f27a..2b988d9 100644 --- a/13-Smoothing.ipynb +++ b/13-Smoothing.ipynb @@ -268,7 +268,7 @@ " for k in range(n-2,-1,-1):\n", " Pp[k] = F @ P[k] @ F.T + Q # predicted covariance\n", "\n", - " K[k] = P[k] @ F.T @inv(Pp[k])\n", + " K[k] = P[k] @ F.T @ inv(Pp[k])\n", " x[k] += K[k] @ (x[k+1] - (F @ x[k])) \n", " P[k] += K[k] @ (P[k+1] - Pp[k]) @ K[k].T\n", " return (x, P, K, Pp)\n",