ganguli-lab / nems

Neural encoding models
MIT License
7 stars 5 forks source link

Fix future warning with numpy 1.14.0 #5

Closed szapp closed 5 years ago

szapp commented 5 years ago

Since numpy 1.14.0 the use of numpy.linalg.lstsq gives a future warning if the optional parameter rcond is not explicitly set (see numpy documentation).

This change here just adds this missing parameter in tentbasis.py to preserve the original behavior.

nirum commented 5 years ago

thanks!