Skip to content

Commit

Permalink
minor modifs in cipsi_tc_bi_ortho/selection.irp.f
Browse files Browse the repository at this point in the history
  • Loading branch information
eginer committed Mar 22, 2024
1 parent e0af6d8 commit 64523de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/local/cipsi_tc_bi_ortho/selection.irp.f
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ subroutine fill_buffer_double(i_generator, sp, h1, h2, bannedOrb, banned, fock_d
! endif
e_pert(istate) = 0.25 * val / delta_E
! e_pert(istate) = 0.5d0 * (tmp - delta_E)
if(dsqrt(dabs(tmp)).gt.1.d-4.and.dabs(alpha_h_psi).gt.1.d-4)then
if(dsqrt(tmp).gt.1.d-4.and.dabs(psi_h_alpha).gt.1.d-4)then
coef(istate) = e_pert(istate) / psi_h_alpha
else
coef(istate) = alpha_h_psi / delta_E
Expand Down

0 comments on commit 64523de

Please sign in to comment.