change misleading source code formatting

This commit is contained in:
Axel Kohlmeyer 2020-07-04 05:12:35 -04:00
parent de815ed6ba
commit 9de3077b19
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ FixQTB::FixQTB(LAMMPS *lmp, int narg, char **arg) :
} else if (strcmp(arg[iarg],"damp") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal fix qtb command");
t_period = force->numeric(FLERR,arg[iarg+1]);
if (t_period <= 0.0) error->all(FLERR,"Fix qtb damp must be > 0.0"); fric_coef = 1/t_period;
if (t_period <= 0.0) error->all(FLERR,"Fix qtb damp must be > 0.0");
fric_coef = 1/t_period;
iarg += 2;
} else if (strcmp(arg[iarg],"seed") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal fix qtb command");