Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'numpy.float64' object cannot be interpreted as an integer #33

Open
wenzhao98 opened this issue Feb 17, 2022 · 2 comments
Open

'numpy.float64' object cannot be interpreted as an integer #33

wenzhao98 opened this issue Feb 17, 2022 · 2 comments

Comments

@wenzhao98
Copy link

Got a 'numpy.float64' object cannot be interpreted as an integer error when run smith_full_test.py. Any idea?

@sinc
Copy link

sinc commented Mar 10, 2022

Try replace line 1064 in smithaxes.py file by
for xs in np.linspace(x0, x1, int(x_div + 1))[1:]:
and line 1068
for ys in np.linspace(y0, y1, int(y_div + 1))[1:]:

@wenzhao98
Copy link
Author

It worked. Thank you, sinc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants