Skip to content

Commit

Permalink
this causes weird problems
Browse files Browse the repository at this point in the history
  • Loading branch information
haraschax committed May 17, 2020
1 parent e50846d commit 9cfff6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rednose/helpers/ekf_sym.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ def _predict_and_update_batch(self, t, kind, z, R, extra_args, augment=False):
R (mat [n,dim_z, dim_z]): Measurement Noise
extra_args (list, [n]): Values used in H computations
"""
assert z.shape[0] == R.shape[0]
assert z.shape[1] == R.shape[1]
assert z.shape[1] == R.shape[2]

# initialize time
if self.filter_time is None:
self.filter_time = t
Expand Down

0 comments on commit 9cfff6b

Please sign in to comment.