Skip to content

Commit

Permalink
RI_HFX| fix RI_FLAVOR test with smearing
Browse files Browse the repository at this point in the history
  • Loading branch information
abussy committed Jul 13, 2022
1 parent bc645f8 commit 30cb227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hfx_types.F
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ SUBROUTINE hfx_ri_init_read_input_from_hfx(ri_data, x_data, hfx_section, ri_sect
orb_basis_type, ri_basis_type, para_env, unit_nr, unit_nr_dbcsr, &
nelectron_total, t_c_filename=t_c_filename)

IF (dft_control%smear) THEN
IF (dft_control%smear .AND. ri_data%flavor == ri_mo) THEN
CPABORT("RI_FLAVOR MO is not consistent with smearing. Please use RI_FLAVOR RHO.")
END IF

Expand Down

0 comments on commit 30cb227

Please sign in to comment.