From 29d13dd3a077337ac9cc7cfbd0bf8d8fd3140d0a Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 15 Jan 2019 01:42:53 +0000
Subject: [PATCH] Fixed a few typos.

---
 src/engine.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/engine.c b/src/engine.c
index 64490d30b0..f1b4b7d9db 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -3195,7 +3195,7 @@ void engine_check_for_dumps(struct engine *e) {
 #ifdef HAVE_VELOCIRAPTOR
 
           /* Unleash the raptor! */
-          velociraptor_init(e);
+          velociraptor_init(e, /*linked_with_snap=*/1);
           velociraptor_invoke(e, /*linked_with_snap=*/1);
 #else
           error(
@@ -3231,8 +3231,8 @@ void engine_check_for_dumps(struct engine *e) {
 #ifdef HAVE_VELOCIRAPTOR
 
         /* Unleash the raptor! */
-        velociraptor_init(e);
-        velociraptor_invoke(e, /*linked_with_snap=*/1);
+        velociraptor_init(e, /*linked_with_snap=*/0);
+        velociraptor_invoke(e, /*linked_with_snap=*/0);
 
         /* ... and find the next output time */
         engine_compute_next_stf_time(e);
@@ -3251,7 +3251,7 @@ void engine_check_for_dumps(struct engine *e) {
      * where there can be another dump before the next step. */
 
     type = output_none;
-    ti_output = e->ti_current;
+    ti_output = max_nr_timesteps;
 
     /* Save some statistics ? */
     if (e->ti_end_min > e->ti_next_stats && e->ti_next_stats > 0) {
@@ -4111,7 +4111,7 @@ void engine_init(struct engine *e, struct space *s, struct swift_params *params,
   if (e->policy & engine_policy_structure_finding) {
     parser_get_param_string(params, "StructureFinding:basename",
                             e->stf_base_name);
-    parser_get_param_string(params, "StructureFinding:config",
+    parser_get_param_string(params, "StructureFinding:config_file_name",
                             e->stf_config_file_name);
 
     e->time_first_stf_output =
-- 
GitLab