Skip to content

Commit

Permalink
fixing is to ==
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-rakowski committed Nov 14, 2023
1 parent e03f0a8 commit da327ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py4DSTEM/process/calibration/origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ def fit_origin(
robust=robust,
robust_steps=robust_steps,
robust_thresh=robust_thresh,
data_mask=mask is True,
data_mask=mask == True, # noqa E712
)
popt_y, pcov_y, qy0_fit, _ = fit_2D(
f,
qy0_meas,
robust=robust,
robust_steps=robust_steps,
robust_thresh=robust_thresh,
data_mask=mask is True,
data_mask=mask == True, # noqa E712
)

# Compute residuals
Expand Down

0 comments on commit da327ef

Please sign in to comment.