Skip to content

Conversation

JdelArco98
Copy link

Previous implementation np.argmax(1e-5 < np.abs(mo_coeff), axis=0). 1e-5 < np.abs(mo_coeff) returns a bool matrix, therefore np.argmax just chooses the first True argument, regardless of their modulus.

Previous implementation np.argmax(1e-5 < np.abs(mo_coeff), axis=0).  1e-5 < np.abs(mo_coeff) returns a bool matrix, therefore np.argmax just chooses the first True argument, regardless of their modulus.
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