robbmcleod / pyfastnoisesimd

Python module wrapping C++ FastNoiseSIMD
BSD 3-Clause "New" or "Revised" License
39 stars 6 forks source link

Update helpers.py numpy product call since deprecated #27

Closed SpontaneousDuck closed 1 year ago

SpontaneousDuck commented 1 year ago

NumPy deprecated numpy.Product in v1.25 since it just called numpy.prod underneath. New numpy version give a deprecation warning for calling it and it will be removed in numpy v2.0. Updating the call to be correct. Since product just called prod there should be no change in operation of the code.