Skip to content

Commit

Permalink
added space after operator
Browse files Browse the repository at this point in the history
Example code was missing a space after the @ operator
  • Loading branch information
rlabbe authored May 19, 2022
1 parent a7b2eac commit 11d9fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 13-Smoothing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 11d9fce

Please sign in to comment.