Skip to content

Commit

Permalink
Update skymatch_step.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHuwe authored Oct 17, 2024
1 parent 6bee47e commit 2cf8dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/skymatch/skymatch_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _set_sky_background(self, sky_image, step_status):
image.meta.background.subtracted = self.subtract
# In numpy 2, the dtypes are more carefully controlled, so to match the
# schema the data type needs to be re-cast to float64.
image.meta.background.level = sky.astype(np.float64)
image.meta.background.level = sky

if step_status == "COMPLETE" and self.subtract:
image.data[...] = sky_image.image[...]
Expand Down

0 comments on commit 2cf8dbc

Please sign in to comment.