You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PR #128 where I fixed the Taylor expansion limit and max_expansion limit logic I introduced a logic path but did not explicitly test this path. Code coverage for the wavefunction.py module thus dropped 1%
Lines 566 and 598 are the additional for-else logic I added. A small test that builds a Hamiltonian and then sets max_expansion 1 one (so that Taylor and Chebyshev) won't converge is needed to test the Runtime error that should be raised.
The text was updated successfully, but these errors were encountered:
In PR #128 where I fixed the Taylor expansion limit and max_expansion limit logic I introduced a logic path but did not explicitly test this path. Code coverage for the
wavefunction.py
module thus dropped 1%Lines 566 and 598 are the additional for-else logic I added. A small test that builds a Hamiltonian and then sets max_expansion 1 one (so that Taylor and Chebyshev) won't converge is needed to test the Runtime error that should be raised.
The text was updated successfully, but these errors were encountered: