Skip to content

Add a numpy.any() to an array evaluation#40

Open
stephanne-t wants to merge 1 commit intomoflaher:masterfrom
stephanne-t:patch_array_comprehension
Open

Add a numpy.any() to an array evaluation#40
stephanne-t wants to merge 1 commit intomoflaher:masterfrom
stephanne-t:patch_array_comprehension

Conversation

@stephanne-t
Copy link
Copy Markdown

I'm using a fairly new version of Python (3.12.4), and get an error on line 430 about the ambiguity of the truth value of an empty array. Wrapping the array in numpy.any() resolves the issue.

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

Successfully merging this pull request may close these issues.

1 participant