Skip to content

Changed boolean statement to work with arrays#211

Open
Ubiquinone-dot wants to merge 1 commit intoDiffEqML:masterfrom
Ubiquinone-dot:patch-1
Open

Changed boolean statement to work with arrays#211
Ubiquinone-dot wants to merge 1 commit intoDiffEqML:masterfrom
Ubiquinone-dot:patch-1

Conversation

@Ubiquinone-dot
Copy link

Fixes the following error which I ran into:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

The k1 array passed in this case is of shape (batch_size, n_atoms, 3)

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

Labels

None yet

1 participant