Fixed a bug in constrained dynamics.

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1225 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
sbraccia 2004-09-03 11:28:51 +00:00
parent c1790428d9
commit 7976b25ce8
1 changed files with 1 additions and 1 deletions

View File

@ -976,7 +976,7 @@ SUBROUTINE iosys()
!
DO ia = 1, nconstr
!
target(ia) = norm( tau(:,constr(1,ia)) - tau(:,constr(2,ia)) )
target(ia) = norm( tau(:,constr(1,ia)) - tau(:,constr(2,ia)) ) * alat
!
ltest = if_pos(1,constr(1,ia)) == 0 .OR. &
if_pos(1,constr(2,ia)) == 0 .OR. &