Skip to content

Commit

Permalink
Modify bug in Ba and La ECP
Browse files Browse the repository at this point in the history
  • Loading branch information
ishimura committed Aug 8, 2021
1 parent 7477cf0 commit 518b728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ecpfunc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -805,12 +805,12 @@ subroutine ecplanl2(iatom,iprim,numatomic,databasis,datacomp)
! Set Cs - La, Hf - Bi ECP functions
!
case(55:57,72:83)
if(numatomic(iatom) <= 55) then
if(numatomic(iatom) <= 57) then
databasis%maxangecp(iatom)= 3
else
databasis%maxangecp(iatom)= 4
endif
if(numatomic(iatom) <= 55) then
if(numatomic(iatom) <= 57) then
databasis%izcore(iatom)= 46
elseif(numatomic(iatom) <= 79) then
databasis%izcore(iatom)= 60
Expand Down

0 comments on commit 518b728

Please sign in to comment.