diff --git a/doc/src/Python_neighbor.rst b/doc/src/Python_neighbor.rst index 8201955b6c..755b83da81 100644 --- a/doc/src/Python_neighbor.rst +++ b/doc/src/Python_neighbor.rst @@ -38,7 +38,7 @@ using the NumPy access method. for n in np.nditer(nlist): print(" atom {} with ID {}".format(n,tags[n])) -Another example for extracting a full neighbor list without evaluating a +Another example for extracting a full neighbor list without evaluating a potential is shown below. .. code-block:: python diff --git a/src/pair_zero.cpp b/src/pair_zero.cpp index e253cd2aa5..e4d98ad66e 100644 --- a/src/pair_zero.cpp +++ b/src/pair_zero.cpp @@ -91,7 +91,7 @@ void PairZero::settings(int narg, char **arg) if ((narg != 1) && (narg != 2) && (narg != 3)) error->all(FLERR, "Illegal pair_style command"); cut_global = utils::numeric(FLERR, arg[0], false, lmp); - + if (narg == 2){ if (strcmp("nocoeff", arg[1]) == 0) coeffflag = 0;