Skip to content

Commit

Permalink
removed branch of reading that should not be needed (hsx)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 6, 2023
1 parent 5eae9dd commit e75613f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sisl/io/siesta/_src/hsx_read.f90
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,7 @@ subroutine read_hsx_sx0(fname, nspin, no_u, no_s, maxnh, &
! Read logical
read(iu, iostat=ierr) Gamma
call iostat_update(ierr)
if ( Gamma ) then
if ( no_u /= no_s ) then
stop 'Error in reading data, not allocated, Gamma'
end if
else if ( no_u == no_s ) then
if ( Gamma .and. no_u /= no_s ) then
stop 'Error in reading data, not allocated, Gamma'
end if

Expand Down

0 comments on commit e75613f

Please sign in to comment.