git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2251 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -278,7 +278,7 @@ int MinCG::iterate(int n)
|
|||||||
double beta,gg,dot[2],dotall[2];
|
double beta,gg,dot[2],dotall[2];
|
||||||
|
|
||||||
double *f = NULL;
|
double *f = NULL;
|
||||||
if (ndof) atom->f[0];
|
if (ndof) f = atom->f[0];
|
||||||
for (i = 0; i < ndof; i++) h[i] = g[i] = f[i];
|
for (i = 0; i < ndof; i++) h[i] = g[i] = f[i];
|
||||||
|
|
||||||
dot[0] = 0.0;
|
dot[0] = 0.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user