forked from lijiext/lammps
replace variable length array with fixed size
This commit is contained in:
parent
1d54c93df8
commit
b61834f28d
|
@ -588,7 +588,7 @@ void NEB::print_status()
|
||||||
MPI_Allgather(&fnorminf,1,MPI_DOUBLE,&fmaxatomInRepl[0],1,MPI_DOUBLE,roots);
|
MPI_Allgather(&fnorminf,1,MPI_DOUBLE,&fmaxatomInRepl[0],1,MPI_DOUBLE,roots);
|
||||||
}
|
}
|
||||||
|
|
||||||
double one[numall];
|
double one[7];
|
||||||
one[0] = fneb->veng;
|
one[0] = fneb->veng;
|
||||||
one[1] = fneb->plen;
|
one[1] = fneb->plen;
|
||||||
one[2] = fneb->nlen;
|
one[2] = fneb->nlen;
|
||||||
|
|
Loading…
Reference in New Issue