Closed ulriks9 closed 2 months ago
Nice catch! I just submitted #254 for the same problem. We should compare our solutions, I am always learning.
@ulriks9 Thank you for the PR. It turns out this fix was already implemented on a branch just merged into master.
np.asscalar() is deprecated as of numpy version 1.16. I updated this code to use np.ndarray.item() instead of np.asscalar()