mirror of https://gitlab.com/QEF/q-e.git
"goto" substitute with "exit"
gvectors modules are checked with the same tolerance as in the sorting routine. git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@270 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
98c2527cd7
commit
09f9816359
|
@ -72,7 +72,7 @@ subroutine gk_sort (k, ngm, g, ecut, ngk, igk, gk)
|
|||
if ( ( g (1, ng) **2 + g (2, ng) **2 + g (3, ng) **2 ) .gt. ( q2x + eps8 ) ) exit
|
||||
endif
|
||||
enddo
|
||||
call errore ('gk_sort', 'unexpected exit from do-loop', - 1)
|
||||
if( ng > ngm ) call errore ('gk_sort', 'unexpected exit from do-loop', - 1)
|
||||
!
|
||||
! order vector gk keeping initial position in index
|
||||
!
|
||||
|
|
Loading…
Reference in New Issue