From e5ef79221111515dd0321fc9b21eaa06a8fce394 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis <karakasis@cscs.ch> Date: Sat, 2 Jul 2016 20:32:01 +0200 Subject: [PATCH] Fixed compilation in profiler. It was complaining for std::accumulate() in my laptop with clang. --- src/profiling/profiler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/profiling/profiler.cpp b/src/profiling/profiler.cpp index 247c8c94..b5d2ad0d 100644 --- a/src/profiling/profiler.cpp +++ b/src/profiling/profiler.cpp @@ -1,3 +1,5 @@ +#include <numeric> + #include "profiler.hpp" #include "util/debug.hpp" @@ -373,4 +375,3 @@ void profiler_output(double threshold) {} } // namespace util } // namespace mc } // namespace nest - -- GitLab