Skip to content

Commit

Permalink
Corth should be None by default in get_err_vec.
Browse files Browse the repository at this point in the history
  • Loading branch information
susilehtola authored and sunqm committed Jan 10, 2023
1 parent fb038b4 commit c0c4dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscf/scf/diis.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def get_err_vec_orth(s, d, f, Corth):
raise RuntimeError('Unknown SCF DIIS type')
return errvec

def get_err_vec(s, d, f, Corth):
def get_err_vec(s, d, f, Corth=None):
if Corth is None:
return get_err_vec_orig(s, d, f)
else:
Expand Down

0 comments on commit c0c4dbc

Please sign in to comment.