From 3c74fdb0d2c4fb8bd1a205c7671a6bb0b8d6936b Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Fri, 16 Nov 2018 10:22:41 +0100 Subject: [PATCH] Add comments --- src/active.h | 2 ++ src/timers.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/active.h b/src/active.h index 7aa8a14552..5bbbd3803c 100644 --- a/src/active.h +++ b/src/active.h @@ -85,6 +85,8 @@ __attribute__((always_inline)) INLINE static int cell_are_gpart_drifted( __attribute__((always_inline)) INLINE static int cell_are_spart_drifted( const struct cell *c, const struct engine *e) { + /* Currently just use the gpart drift + * This function is just for clarity */ return cell_are_gpart_drifted(c, e); } diff --git a/src/timers.c b/src/timers.c index 2a02bbbacf..a7f4c3cedf 100644 --- a/src/timers.c +++ b/src/timers.c @@ -94,7 +94,8 @@ const char* timers_names[timer_count] = {"none", "dosubpair_stars_density", "dosub_self_stars_density", "logger", - "do_stars_sort"}; + "do_stars_sort", +}; /* File to store the timers */ static FILE* timers_file; -- GitLab