From aa135e72584dadd9994b74477d44b813f432e4c4 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Sun, 9 Dec 2018 09:25:24 +0100 Subject: [PATCH] Fixed style in some comments. --- examples/main.c | 3 +-- src/engine.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/main.c b/examples/main.c index 5f914fc333..98f6be5d3e 100644 --- a/examples/main.c +++ b/examples/main.c @@ -470,8 +470,7 @@ int main(int argc, char *argv[]) { } /* Check that we can write the structure finding catalogues by testing if the - * output - * directory exists and is searchable and writable. */ + * output directory exists and is searchable and writable. */ if (with_structure_finding) { char stfbasename[PARSER_MAX_LINE_SIZE]; parser_get_param_string(params, "StructureFinding:basename", stfbasename); diff --git a/src/engine.c b/src/engine.c index 1fba65d0b4..27a6930c0f 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2785,7 +2785,7 @@ void engine_init_particles(struct engine *e, int flag_entropy_ICs, gravity_exact_force_compute(e->s, e); #endif - scheduler_write_dependencies(&e->sched, e->verbose); + if (e->verbose) scheduler_write_dependencies(&e->sched, e->verbose); if (e->nodeID == 0) scheduler_write_task_level(&e->sched); /* Run the 0th time-step */ @@ -4638,8 +4638,7 @@ void engine_config(int restart, struct engine *e, struct swift_params *params, /* Expected average for tasks per cell. If set to zero we use a heuristic * guess based on the numbers of cells and how many tasks per cell we expect. * On restart this number cannot be estimated (no cells yet), so we recover - * from the end of the dumped run. Can be changed on restart. - */ + * from the end of the dumped run. Can be changed on restart. */ e->tasks_per_cell = parser_get_opt_param_int(params, "Scheduler:tasks_per_cell", 0); int maxtasks = 0; -- GitLab