From 8f5da47d6816d7f6a2dd26a8c6212b6e8dbf5df0 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 25 May 2020 14:49:00 +0200
Subject: [PATCH] Count the time spent in the FOF tasks in the correct
 category.

---
 src/task.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/task.c b/src/task.c
index f821eed5e6..7844be6852 100644
--- a/src/task.c
+++ b/src/task.c
@@ -1361,6 +1361,10 @@ enum task_categories task_get_category(const struct task *t) {
     case task_type_end_grav_force:
       return task_category_gravity;
 
+    case task_type_fof_self:
+    case task_type_fof_pair:
+      return task_category_fof;
+
     case task_type_self:
     case task_type_pair:
     case task_type_sub_self:
-- 
GitLab