Commit b61834f2 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

replace variable length array with fixed size

parent 1d54c93d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;