Skip to content

Commit

Permalink
warn instead of fail
Browse files Browse the repository at this point in the history
  • Loading branch information
maxscheurer committed Aug 25, 2024
1 parent beb082d commit c752d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adcc/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def diagonalise_adcmatrix(matrix, n_states, kind, eigensolver="davidson",
if conv_tol is None:
conv_tol = max(10 * reference_state.conv_tol, 1e-6)
if reference_state.conv_tol > conv_tol:
raise InputError(
warnings.warn(
"Convergence tolerance of SCF results "
f"(== {reference_state.conv_tol}) needs to be lower than ADC "
f"convergence tolerance parameter conv_tol (== {conv_tol})."
Expand Down

0 comments on commit c752d1c

Please sign in to comment.