Skip to content

Commit

Permalink
fixed 2 small bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
quanshengwu committed Sep 15, 2017
1 parent f626d8e commit 367c5e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions soc/dos.f90
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ subroutine dos_sub
real(dp) :: k(3)
real(dp) :: time_start, time_end, time_init

real(dp), allocatable :: kpoints(:, :)
real(dp), allocatable :: eigval(:)
real(dp), allocatable :: W(:)
real(dp), allocatable :: omega(:)
Expand Down Expand Up @@ -67,7 +66,6 @@ subroutine dos_sub
allocate(dos(NE))
allocate(dos_mpi(NE))
allocate(omega(NE))
kpoints= 0d0
dos=0d0
dos_mpi=0d0
eigval= 0d0
Expand Down
1 change: 1 addition & 0 deletions soc/orbital_momenta.f90
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ subroutine orbital_momenta(k, eigvec)
sub= 0d0
eig2= 0d0

if (Num_wann<7) return

!> only for AlSb/InAs/GaSb/AlSb system
!>> p orbital operators
Expand Down

0 comments on commit 367c5e9

Please sign in to comment.