Closed QuinnWang closed 10 months ago
For example: https://github.com/xmos/lib_xcore_math/blob/e34d8dbfb67490885c023b38cfffa4b1cb8d4041/lib_xcore_math/script/xmath_script.py#L38
With the latest numpy, it reports the error 'numpy' has no attribute 'float', the reason is xmath_script.py has the deprecated np.float
Refer to https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations, should change to use float or np.float64, either can solve the script running problem
Hi @QuinnWang, The issue has been fixed with the recent push to develop. Thank you for your report ✨
For example: https://github.com/xmos/lib_xcore_math/blob/e34d8dbfb67490885c023b38cfffa4b1cb8d4041/lib_xcore_math/script/xmath_script.py#L38
With the latest numpy, it reports the error 'numpy' has no attribute 'float', the reason is xmath_script.py has the deprecated np.float
Refer to https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations, should change to use float or np.float64, either can solve the script running problem