Unverified Commit bc3a1187 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make behavior of comparing cutoff and long-range coulomb independent of order

parent 9a5b7141
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1007,7 +1007,7 @@ void *PairHybrid::extract(const char *str, int &dim)
  for (int m = 0; m < nstyles; m++) {
    ptr = styles[m]->extract(str,dim);
    if (ptr && strcmp(str,"cut_coul") == 0) {
      if (cutptr && dim != couldim)
      if (couldim != -1 && dim != couldim)
        error->all(FLERR,
                   "Coulomb styles of pair hybrid sub-styles do not match");
      double *p_newvalue = (double *) ptr;