luinardi / hypermapper

Black-box Optimizer based on Bayesian Optimization
MIT License
152 stars 26 forks source link

Fix numpy deprecated dtypes. int->int64, float->float64 #87

Closed shivampotdar closed 1 year ago

shivampotdar commented 1 year ago

Hi hypermapper does not work out of the box with numpy version 1.24.2, mainly due to some dtype deprecations in 1.20.0 (https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations). The fixes in this PR should get it working again. The new dtypes are as per the recommendations in the numpy release note.

ErikOrm commented 1 year ago

This looks accurate