Skip to content

Commit f8bc493

Browse files
committed
updated a comment
1 parent 2e44685 commit f8bc493

File tree

2 files changed

+37
-41
lines changed

2 files changed

+37
-41
lines changed

examples/1_basic_tutorial.ipynb

Lines changed: 36 additions & 40 deletions
Large diffs are not rendered by default.

pynumdiff/kalman_smooth/_kalman_smooth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _constant_derivative(x, P0, A, C, R, Q, forwardbackward):
8989
x_hat_forward = xhat_smooth[:, 0] # first dimension is time, so slice first element at all times
9090
dxdt_hat_forward = xhat_smooth[:, 1]
9191

92-
if not forwardbackward: # bound out here if not doing the same in reverse and then combining
92+
if not forwardbackward: # bounce out here if not doing the same in reverse and then combining
9393
return x_hat_forward, dxdt_hat_forward
9494

9595
xhat0[0] = x[-1] # starting from the other end of the signal

0 commit comments

Comments
 (0)