Skip to content

Commit

Permalink
fix (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza authored Apr 2, 2024
1 parent ba99664 commit 85b4a23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions btk/draw_blends.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,7 @@ def render_blend(

for ii, entry in enumerate(blend_catalog):
single_image = self.render_single(entry, filt, psf, survey)
if single_image is None:
iso_image[ii] = np.zeros(single_image)
else:
if single_image is not None:
iso_image[ii] = single_image.array
blend_image += single_image

Expand Down

0 comments on commit 85b4a23

Please sign in to comment.