Skip to content

Commit

Permalink
silence lassi excitationsolver warning
Browse files Browse the repository at this point in the history
There is another warning for failure to converge anyway.
  • Loading branch information
MatthewRHermes committed Sep 25, 2023
1 parent 17f5068 commit 807e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_pyscf/lassi/excitations.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def kernel (self, h1e, h2e, norb, nelec, ecore=0, ci0=None, orbsym=None, **kwarg
self.denom_q = e0 - self.e_q
log.debug ("Self-energy singularities in VRVSolver: {}".format (self.e_q))
assert (not self.test_locmin (e0, ci1, warntag='Saddle-point initial guess'))
warn_swap = True
warn_swap = False # annoying loud warning not necessary
#print (lib.fp (ci0), self.denom_q)
for it in range (max_cycle_e0):
e, ci1 = self.undressed_kernel (
Expand Down

0 comments on commit 807e049

Please sign in to comment.