diff --git a/doc/src/Build_basics.rst b/doc/src/Build_basics.rst index d364382591..87863e3042 100644 --- a/doc/src/Build_basics.rst +++ b/doc/src/Build_basics.rst @@ -162,7 +162,7 @@ with compiler versions in use. If compilation with OpenMP enabled fails because of your compiler requiring strict OpenMP 4.0 semantics, you can change the behavior by adding ``-D LAMMPS_OMP_COMPAT=4`` to the ``LMP_INC`` variable in your makefile, or add it to the command line -while configuring with CMake. LAMMPS will autodetect a suitable setting +while configuring with CMake. LAMMPS will auto-detect a suitable setting for most GNU, Clang, and Intel compilers. ---------- diff --git a/doc/src/Library.rst b/doc/src/Library.rst index 1a12ed134b..8096980a32 100644 --- a/doc/src/Library.rst +++ b/doc/src/Library.rst @@ -81,7 +81,7 @@ and consequently the function :cpp:func:`lammps_open` may not be used. No checks are made on the arguments of the function calls of the C library interface. *All* function arguments must be non-NULL unless - *explicitly* allowed, and msut point to consistent and valid data. Buffers + *explicitly* allowed, and must point to consistent and valid data. Buffers for storing returned data must be allocated to a suitable size. Passing invalid or unsuitable information will likely cause crashes or corrupt data.