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

Slicing index not guaranteed to be an integer #20

Open
jkrasting opened this issue Aug 10, 2023 · 0 comments
Open

Slicing index not guaranteed to be an integer #20

jkrasting opened this issue Aug 10, 2023 · 0 comments

Comments

@jkrasting
Copy link

MIDAS/midas/rectgrid_gen.py

Lines 639 to 640 in 9232eda

jmin=jmin+numpy.mod(jmin,2)
return r_out[jmin:,:], phi_out[jmin:,:]

In the code above, slicing is performed based on jmin but it's value is not guaranteed to be an integer.

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

1 participant