Commit 18c6d7f2 authored by Stan Moore's avatar Stan Moore
Browse files

Fix possible MPI deadlock in pair_snap

parent 1b4068b5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1529,8 +1529,8 @@ void PairSNAP::coeff(int narg, char **arg)
      sna[tid]->grow_rij(nmax);
  }

  if (comm->me == 0)
  if (ncoeff != sna[0]->ncoeff) {
    if (comm->me == 0)
      printf("ncoeff = %d snancoeff = %d \n",ncoeff,sna[0]->ncoeff);
    error->all(FLERR,"Incorrect SNAP parameter file");
  }