Skip to content

Commit

Permalink
Fix type error in default mask
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Feb 15, 2023
1 parent 881f50e commit d56b142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/picca/raw_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def read_transmission_file(filename, num_bins, objs_thingid, tracer='F_LYA', lam
rebin_flux = np.bincount(bins, weights=aux_trans, minlength=num_bins)
rebin_ivar = np.bincount(bins, minlength=num_bins).astype(float)

mean_flux_cut = np.full_like(rebin_log_lambda, True)
mean_flux_cut = np.full_like(rebin_log_lambda, True, dtype=bool)
if mean_flux_max_wave is not None:
assert mean_flux_max_wave > lambda_min_rest_frame
assert mean_flux_max_wave < lambda_max_rest_frame
Expand Down

0 comments on commit d56b142

Please sign in to comment.