mirror of https://gitlab.com/QEF/q-e.git
Merge branch 'smallfixes' into 'develop'
Small fixes Closes #521 See merge request QEF/q-e!1915
This commit is contained in:
commit
466f76eabf
|
@ -57,7 +57,9 @@ SUBROUTINE init_mbd ( nks_start, nk1, nk2, nk3, k1, k2, k3, tprnfor, tstress )
|
|||
!
|
||||
! Allocation of variables that depend on the number of atoms
|
||||
!
|
||||
#if !defined(__NOMBD)
|
||||
#if defined(__NOMBD)
|
||||
CALL errore( 'libmbd_interface', 'Many-Body Dispersion not compiled',1)
|
||||
#else
|
||||
ALLOCATE(inp%atom_types(nat))
|
||||
!
|
||||
EmbdvdW = 0.0_dp
|
||||
|
|
|
@ -623,8 +623,8 @@ CONTAINS
|
|||
INTEGER :: i
|
||||
LOGICAL :: indent
|
||||
!
|
||||
IF ( nlevel < 0 ) THEN
|
||||
print "('xmlw_closetag: severe error, closing tag that was never opened')"
|
||||
IF ( nlevel < 1 ) THEN
|
||||
IF ( nlevel < 0 ) print "('xmlw_closetag: severe error, closing tag that was never opened')"
|
||||
RETURN
|
||||
END IF
|
||||
IF ( .NOT.PRESENT(tag) ) THEN
|
||||
|
|
Loading…
Reference in New Issue