Skip to content

stats.mode index error #7

Description

@kjgm

The line mode = stats.mode(y)[0][0] gives the error IndexError: invalid index to scalar variable.

This line occurs in oct.py kube 181 and also in the other mip models

This is with scipy version 1.13.1

I could fix it by replacing the line with mode = stats.mode(y)[0]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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