remove dead code

This commit is contained in:
Axel Kohlmeyer
2018-03-07 10:57:07 -05:00
parent 47e2ca6eb2
commit f91c36878c

View File

@ -943,7 +943,7 @@ void PairREAX::cg_solve(const int & nlocal, const int & nghost,
double aval[], int acol_ind[], int arow_ptr[],
double x[], double b[])
{
double one, zero, rho, rho_old, alpha, beta, gamma;
double one, rho, rho_old, alpha, beta, gamma;
int iter, maxiter;
int n;
double sumtmp;
@ -963,7 +963,6 @@ void PairREAX::cg_solve(const int & nlocal, const int & nghost,
n = nlocal+nghost+1;
one = 1.0;
zero = 0.0;
maxiter = 100;
for (int i = 0; i < n; i++) w[i] = 0;