Commit 5e165e67 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix array bounds issue due to typo. spotted by GCC.

parent 02625b28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ MEAM::alloyparams(void)

  // Loop over pairs
  for (i = 0; i < this->neltypes; i++) {
    for (j = 0; i < this->neltypes; i++) {
    for (j = 0; j < this->neltypes; j++) {
      // Treat off-diagonal pairs
      // If i>j, set all equal to i<j case (which has aready been set,
      // here or in the input file)