Skip to content

Fix bug canonical_mo_coeff#4

Open
JdelArco98 wants to merge 1 commit into
tensorcircuit:masterfrom
JdelArco98:patch-1
Open

Fix bug canonical_mo_coeff#4
JdelArco98 wants to merge 1 commit into
tensorcircuit:masterfrom
JdelArco98:patch-1

Conversation

@JdelArco98

Copy link
Copy Markdown

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