replace variable length array with fixed size

This commit is contained in:
Axel Kohlmeyer 2018-05-04 16:34:46 -04:00
parent 1d54c93df8
commit b61834f28d
1 changed files with 1 additions and 1 deletions

View File

@ -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;