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

fix unexpected ValueError #1270

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 6, 2022

  1. fix unexpected ValueError

    When value is a numpy array, comparing a numpy array with None object will give another numpy array. Then a ValueError will be raised, says: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().
    For example, you can test this funtion with value = numpy.array([1,2,3]), and default=None.
    jimmieliu committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    46ef730 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    ec03187 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2023

  1. Configuration menu
    Copy the full SHA
    0529c08 View commit details
    Browse the repository at this point in the history