Skip to content

Commit

Permalink
Use float64 rather than generic float
Browse files Browse the repository at this point in the history
Modern numpy requires a size be picked.
  • Loading branch information
timj committed Jun 20, 2023
1 parent 2526fcf commit 75027c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/deblender/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def _overlap(xlo, xhi, xmin, xmax):
pkres.psfFitDebugStamp = img.Factory(img, stampbb, True)
pkres.psfFitDebugValidPix = valid # numpy array
pkres.psfFitDebugVar = varimg.Factory(varimg, stampbb, True)
ww = np.zeros(valid.shape, np.float)
ww = np.zeros(valid.shape, np.float64)
ww[valid] = w
pkres.psfFitDebugWeight = ww # numpy
pkres.psfFitDebugRampWeight = rw
Expand Down

0 comments on commit 75027c3

Please sign in to comment.