GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
223 stars 105 forks source link

DoubleZernike.__call__ ought to handle integers #1283

Closed jmeyers314 closed 1 month ago

jmeyers314 commented 4 months ago
import galsim
coef = np.ones((4, 4))
dz = galsim.zernike.DoubleZernike(coef)
print(dz(0.0, 0.0)) # works fine
print(dz(0,0)) # fails

Need a cast to float...