Skip to content

Commit

Permalink
Fix fiducial masking
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Feb 8, 2024
1 parent 64e0246 commit d885e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vega/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def create_global_monte_carlo(self, fiducial_model, scale=None, forecast=False):
if data.data_mask.size == fiducial_model[name].size:
masked_fiducial.append(fiducial_model[name][data.data_mask])
elif mask.size == fiducial_model[name].size:
masked_fiducial.append(fiducial_model[name][mask])
masked_fiducial.append(fiducial_model[name])
else:
raise ValueError('Input fiducial has unknown size. '
'It must match the data or the model.')
Expand Down

0 comments on commit d885e67

Please sign in to comment.