mirror of https://gitlab.com/QEF/q-e.git
Bogus error due to overzealous check performed also in the wrong case,
spotted by Guido Fratesi git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11244 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
c3abe1ee14
commit
b840ff37ca
|
@ -136,9 +136,9 @@ SUBROUTINE local_dos (iflag, lsign, kpoint, kband, spin_component, &
|
|||
ENDDO
|
||||
ENDDO
|
||||
|
||||
IF (npool>1) THEN
|
||||
IF ( iflag == 0 .AND. npool > 1 ) THEN
|
||||
CALL xk_pool( kpoint, nkstot, kpoint_pool, which_pool )
|
||||
IF (kpoint_pool<1 .or. kpoint_pool> nks) &
|
||||
IF ( kpoint_pool < 1 .or. kpoint_pool > nks ) &
|
||||
CALL errore('local_dos','problems with xk_pool',1)
|
||||
i_am_the_pool=(my_pool_id==which_pool)
|
||||
ELSE
|
||||
|
|
Loading…
Reference in New Issue