replace variable length array with fixed size
This commit is contained in:
@ -588,7 +588,7 @@ void NEB::print_status()
|
||||
MPI_Allgather(&fnorminf,1,MPI_DOUBLE,&fmaxatomInRepl[0],1,MPI_DOUBLE,roots);
|
||||
}
|
||||
|
||||
double one[numall];
|
||||
double one[7];
|
||||
one[0] = fneb->veng;
|
||||
one[1] = fneb->plen;
|
||||
one[2] = fneb->nlen;
|
||||
|
||||
Reference in New Issue
Block a user