Commit 4381db84 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

correct the bug discovered by stan due to uninitialized scale factors for...

correct the bug discovered by stan due to uninitialized scale factors for eam/alloy/omp and eam/fs/omp
parent ab92529b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ void PairEAMAlloyOMP::coeff(int narg, char **arg)
        if (i == j) atom->set_mass(i,setfl->mass[map[i]]);
        count++;
      }
      scale[i][j] = 1.0;
    }
  }

+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ void PairEAMFSOMP::coeff(int narg, char **arg)
        if (i == j) atom->set_mass(i,fs->mass[map[i]]);
        count++;
      }
      scale[i][j] = 1.0;
    }
  }