Commit df11b2b3 authored by vmohles's avatar vmohles
Browse files

Update fix_eco_force.cpp

parent 08a6efe6
Loading
Loading
Loading
Loading
+1 −1
Changes for src/MISC/fix_eco_force.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ void FixECOForce::post_force(int vflag) {
      squared_distance = dx * dx + dy * dy + dz * dz;

      if (squared_distance < squared_cutoff) {
        if (n >= 24) {
        if (n >= FIX_ECO_FORCE_MAX_NEIGHBORS) {
          error->one(FLERR, "Fix eco/force maximal number of neighbors exceeded");
        }
        nbr[i].id[n] = static_cast<tagint> (j);