diff --git a/doc/src/Packages_details.rst b/doc/src/Packages_details.rst index 44a8235f93..c52981f70e 100644 --- a/doc/src/Packages_details.rst +++ b/doc/src/Packages_details.rst @@ -200,6 +200,7 @@ particle models including ellipsoids, 2d lines, and 3d triangles. * :doc:`Howto spherical ` * :doc:`pair_style gayberne ` * :doc:`pair_style resquared ` +* :doc:`pair_style ylz ` * `doc/PDF/pair_gayberne_extra.pdf `_ * `doc/PDF/pair_resquared_extra.pdf `_ * examples/ASPHERE diff --git a/src/ASPHERE/pair_ylz.cpp b/src/ASPHERE/pair_ylz.cpp index 82dedf1141..f8f82723ba 100644 --- a/src/ASPHERE/pair_ylz.cpp +++ b/src/ASPHERE/pair_ylz.cpp @@ -269,8 +269,7 @@ void PairYLZ::init_style() for (int i = 0; i < nlocal; ++i) if (ellipsoid[i] < 0) flag = 1; MPI_Allreduce(&flag, &flag_all, 1, MPI_INT, MPI_MAX, world); - if (flag_all) - error->all(FLERR, "All atoms must be ellipsoids for pair style ylz"); + if (flag_all) error->all(FLERR, "All atoms must be ellipsoids for pair style ylz"); } /* ----------------------------------------------------------------------