Commit 71149768 authored by Steve Plimpton's avatar Steve Plimpton
Browse files

fix atom_vec_hybrid bug

parent 8ed5829d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ void AtomVecHybrid::process_args(int narg, char **arg)
  for (int idup = 0; idup < ndupfield; idup++) {
    char *dup = (char *) dupfield[idup];
    ptr = strstr(concat_grow,dup);
    if (strstr(ptr+1,dup)) {
    if (ptr && strstr(ptr+1,dup)) {
      char str[128];
      sprintf(str,"Peratom %s is in multiple sub-styles - "
              "must be used consistently",dup);