Skip to content

Commit

Permalink
calibrationd: fix indentation (commaai#23502)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Jan 12, 2022
1 parent 9941c99 commit de572c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/locationd/calibrationd.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ def __init__(self, param_put=False):

def reset(self, rpy_init=RPY_INIT, valid_blocks=0, smooth_from=None):
if not np.isfinite(rpy_init).all():
self.rpy = RPY_INIT.copy()
self.rpy = RPY_INIT.copy()
else:
self.rpy = rpy_init.copy()

if not np.isfinite(valid_blocks) or valid_blocks < 0:
self.valid_blocks = 0
self.valid_blocks = 0
else:
self.valid_blocks = valid_blocks

Expand Down

0 comments on commit de572c3

Please sign in to comment.