From 3cf985a644d7e6df71911a8e120e38328623627d Mon Sep 17 00:00:00 2001 From: dalcorso Date: Sat, 28 Jul 2012 14:13:44 +0000 Subject: [PATCH] Bug fix: a problem in the band plot for lines passing through points with different symmetry. git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9240 c92efa57-630b-4861-b058-cf58834340f0 --- PP/src/plotband.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PP/src/plotband.f90 b/PP/src/plotband.f90 index f1d1f1c44..39537dfa7 100644 --- a/PP/src/plotband.f90 +++ b/PP/src/plotband.f90 @@ -121,7 +121,7 @@ PROGRAM plotband ps = ( k1(1)*k2(1) + k1(2)*k2(2) + k1(3)*k2(3) ) / & sqrt( k1(1)*k1(1) + k1(2)*k1(2) + k1(3)*k1(3) ) / & sqrt( k2(1)*k2(1) + k2(2)*k2(2) + k2(3)*k2(3) ) - high_symmetry(n) = (ABS(ps-1.d0) >1.0d-4) + high_symmetry(n) = (ABS(ps-1.d0) >1.0d-4).OR.high_symmetry(n) ! ! The gamma point is a high symmetry point !