Skip to content

Commit

Permalink
Merge pull request rlabbe#45 from huffyhenry/master
Browse files Browse the repository at this point in the history
Fix minor bug in KF matrix sizes check
  • Loading branch information
rlabbe authored Sep 10, 2016
2 parents 98a7df0 + 5056293 commit 50d060c
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 50d060c

Please sign in to comment.