GeoEnergyLab-EPFL / PyFrac

a Python planar 3D hydraulic fracture growth solver
http://pyfrac.epfl.ch/
Other
34 stars 20 forks source link

Removes usage of numpy deprecated types (int and float) #4

Closed pedrolimasi closed 1 year ago

pedrolimasi commented 1 year ago

Fixes dependency issue where latest numpy would not work with pyfrac, and installing an older version of it would unleash dependency hell on my computer. Deprecated numpy types are np.int and np.float

Skonki commented 1 year ago

Where are we with these adaptions? If they are resolved we could merge.

pedrolimasi commented 1 year ago

This is a single commit fix. I did not plan anything else and, from my quick search, this is the only change in numpy that had any effect in pyfrac.

Feel free to merge.

carloperuzzo commented 1 year ago

Thanks. Merge completed.