Skip to content

Commit

Permalink
Fixed warning-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
YAY-C committed Apr 29, 2024
1 parent 494c9dd commit 7ffc813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qstack/spahm/guesses.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def SAD(mol, func):
fock = hc + vhf
else:
fock = hc + vhf[0]
if numpy.array_equal(vhf[0], vhf[1]):
if not numpy.array_equal(vhf[0], vhf[1]):
msg = f'The effective potential ({func}) return different alpha and beta matrix components from atomicHF DM'
warnings.warn(msg)
return fock
Expand Down

0 comments on commit 7ffc813

Please sign in to comment.