Skip to content

Commit 6abd935

Browse files
committed
Issue #338
Fixed error in using posterior instead of prior in predict step. This was just in text - the underlying code was implemented correctly.
1 parent c47668e commit 6abd935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

10-Unscented-Kalman-Filter.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@
22272227
" \"\"\"\n",
22282228
"\n",
22292229
" # calculate sigma points for given mean and covariance\n",
2230-
" sigmas = sigma_points_fn(self.x, self.P)\n",
2230+
" sigmas = sigma_points_fn(self.x, self.Pp)\n",
22312231
"\n",
22322232
" for i in range(self._num_sigmas):\n",
22332233
" self.sigmas_f[i] = self.fx(sigmas[i], self._dt)\n",
@@ -3257,7 +3257,7 @@
32573257
"name": "python",
32583258
"nbconvert_exporter": "python",
32593259
"pygments_lexer": "ipython3",
3260-
"version": "3.7.6"
3260+
"version": "3.7.4"
32613261
}
32623262
},
32633263
"nbformat": 4,

0 commit comments

Comments
 (0)