diff --git a/doc/src/pair_granular.rst b/doc/src/pair_granular.rst index 6e17d604fd..8cd8e04af5 100644 --- a/doc/src/pair_granular.rst +++ b/doc/src/pair_granular.rst @@ -346,7 +346,7 @@ user-specified damping coefficient in the *normal* model: \eta_n = \eta_{n0} Here, :math:`\eta_{n0}` is the damping coefficient specified for the normal -contact model, in units of *mass*\ /\ *time*\ . +contact model, in units of *mass*\ /\ *time*\ . For *damping mass_velocity*, the normal damping is given by: diff --git a/src/GRANULAR/gran_sub_mod_damping.cpp b/src/GRANULAR/gran_sub_mod_damping.cpp index 13041b1a0b..da9aa81079 100644 --- a/src/GRANULAR/gran_sub_mod_damping.cpp +++ b/src/GRANULAR/gran_sub_mod_damping.cpp @@ -85,7 +85,7 @@ double GranSubModDampingVelocity::calculate_forces() } else { damp_prefactor = damp; } - } else { + } else { damp_prefactor = damp; } return -damp_prefactor * gm->vnnr;