dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
662 stars 186 forks source link

FutureWarning: `rcond` parameter will change to the default of machine precision #158

Closed moustakas closed 5 years ago

moustakas commented 5 years ago

Getting this non-catastrophic warning when running legacypipe; would be nice to address

/global/common/software/desi/cori/desiconda/20190311-1.2.7-img/aux/lib/python3.6/site-packages/astrometry/util/miscutils.py:54: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  res = np.linalg.lstsq(A, b)
dstndstn commented 5 years ago

Already fixed in dc7ce2a and deployed in recent containers.