whitespace

This commit is contained in:
Axel Kohlmeyer
2022-10-16 11:53:55 -04:00
parent ec121ab812
commit 299281b0e2
3 changed files with 4 additions and 4 deletions

View File

@ -374,7 +374,7 @@ void FixAveCorrelateLong::init()
// set current indices for all computes,fixes,variables
for (auto &val : values) {
if (val.which == ArgInfo::COMPUTE) {
val.val.c = modify->get_compute_by_id(val.id);
if (!val.val.c)
@ -423,7 +423,7 @@ void FixAveCorrelateLong::end_of_step()
// compute/fix/variable may invoke computes so wrap with clear/add
modify->clearstep_compute();
int i = 0;
for (auto &val : values) {
double scalar = 0.0;

View File

@ -324,7 +324,7 @@ void FixAveCorrelate::init()
// set current indices for all computes,fixes,variables
for (auto &val : values) {
if (val.which == ArgInfo::COMPUTE) {
val.val.c = modify->get_compute_by_id(val.id);
if (!val.val.c)

View File

@ -837,7 +837,7 @@ void FixAveHisto::options(int iarg, int narg, char **arg)
// optional args
auto mycmd = fmt::format("fix {}", style);
while (iarg < narg) {
if (strcmp(arg[iarg],"file") == 0) {
if (iarg+2 > narg) utils::missing_cmd_args(FLERR, mycmd + " file", error);