Merge branch 'fix_ll' into 'develop'

add check on allocation for ll array in ldaU init

See merge request QEF/q-e!1092
This commit is contained in:
Pietro Delugas 2020-09-10 12:26:50 +00:00
commit 7e110a7530
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ CONTAINS
!
ENDDO !nt
!
IF (ALLOCATED(ll)) DEALLOCATE (ll)
ALLOCATE(ll(ldmx_tot,ntyp))
!
! ll is a label of all the Hubbard states telling the l of that states.