Skip to content

Commit

Permalink
Fixed yambo_rt compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
sangallidavide committed Feb 14, 2020
1 parent 9e917c8 commit 45e06f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hamiltonian/WF_and_dipole_dimensions.F
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subroutine WF_and_dipole_dimensions(X)
use interfaces, ONLY:eval_G_minus_G
use hamiltonian, ONLY:H_ref_bands,WF_Go_indx,WF_G_max,l_sc_XC_is_local
#if defined _RT || defined _NL
use real_time, ONLY:eval_HARTREE,eval_DFT,eval_energy,l_velocity_gauge_corr
use real_time, ONLY:eval_HARTREE,eval_DFT,eval_energy
#endif
!
implicit none
Expand Down Expand Up @@ -86,8 +86,8 @@ subroutine WF_and_dipole_dimensions(X)
endif
!
#if defined _RT || defined _NL
if (eval_HARTREE.or.eval_energy.or.l_velocity_gauge_corr) WF_G_max=maxval((/QP_ng_SH, WF_G_max/))
if (eval_DFT .or.eval_energy.or.l_velocity_gauge_corr) WF_G_max=maxval((/QP_ng_Vxc,WF_G_max/))
if (eval_HARTREE.or.eval_energy) WF_G_max=maxval((/QP_ng_SH, WF_G_max/))
if (eval_DFT .or.eval_energy) WF_G_max=maxval((/QP_ng_Vxc,WF_G_max/))
#endif
!
!
Expand Down

0 comments on commit 45e06f8

Please sign in to comment.