Skip to content

Commit

Permalink
Fix minor bug in KF matrix sizes check
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Kwiatkowski committed Aug 15, 2016
1 parent db9348e commit 5056293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filterpy/kalman/kalman_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def test_matrix_dimensions(self, z=None, H=None, R=None, F=None, Q=None):
"Shape of P must be ({},{}), but is {}".format(
self.dim_x, self.dim_x, P.shape)

assert self._F.shape == (self.dim_x, self.dim_x), \
assert F.shape == (self.dim_x, self.dim_x), \
"Shape of F must be ({},{}), but is {}".format(
self.dim_x, self.dim_x, F.shape)

Expand Down

0 comments on commit 5056293

Please sign in to comment.