diff --git a/gpu4pyscf/hessian/rks.py b/gpu4pyscf/hessian/rks.py index be30fa66..c9157cc9 100644 --- a/gpu4pyscf/hessian/rks.py +++ b/gpu4pyscf/hessian/rks.py @@ -617,7 +617,7 @@ def _get_vxc_deriv1(hessobj, mo_coeff, mo_occ, max_memory): ao_dm0 = aow = None elif xctype == 'MGGA': if grids.level < 5: - log.warn(mol, 'MGGA Hessian is sensitive to dft grids.') + log.warn('MGGA Hessian is sensitive to dft grids.') ao_deriv = 2 for ao, mask, weight, coords \ in ni.block_loop(opt.mol, grids, nao, ao_deriv, max_memory):