Skip to content

Slicing index not guaranteed to be an integer #20

@jkrasting

Description

@jkrasting

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions