numpy was throwing errors about float valued arguments for the number of points in np.linspace() for me (python 3.9.2, numpy 1.20.1), so I added explicit casts to int around the np.ceil calls. I'm not sure in which numpy version it broke, or if np.ceil or np.linspace is to blame, but it's a trivial fix either way.
Thanks a lot for still looking out for this code after all these years.
Fixes #24, which reports the same error I was getting.
Hi Carroll,
numpy was throwing errors about float valued arguments for the number of points in np.linspace() for me (python 3.9.2, numpy 1.20.1), so I added explicit casts to int around the np.ceil calls. I'm not sure in which numpy version it broke, or if np.ceil or np.linspace is to blame, but it's a trivial fix either way.
Thanks a lot for still looking out for this code after all these years.
Fixes #24, which reports the same error I was getting.
Cheers, Jonas