Commit b33c2130 by Francois Gygi

fix unused variable

git-svn-id: http://qboxcode.org/svn/qb/trunk@1885 cba15fb0-1239-40c8-b417-11db7ca47a34
parent b7027daf
......@@ -56,8 +56,8 @@ double Preconditioner::diag(int ispin, int ikp, int n, int ig) const
// randomizing wfs) replace ekin_n by fixed value 1.0
if ( ekin_n == 0.0 )
ekin_n = 1.0;
const double q2 = kpg2_[ispin][ikp][ig] + fstress[ig];
#if 0
const double q2 = kpg2_[ispin][ikp][ig] + fstress[ig];
#if 0
// Payne Teter Allan adaptive preconditioner
const double x = 0.5 * q2 / ekin_n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment