From c62bfe39900b86e41ca7cf2f6b142cb5cf589d9d Mon Sep 17 00:00:00 2001
From: Lukas Werner <lks.werner@fau.de>
Date: Mon, 26 Mar 2018 12:41:39 +0200
Subject: [PATCH] Made timing optional for gather function

---
 src/pe/raytracing/Raytracer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pe/raytracing/Raytracer.h b/src/pe/raytracing/Raytracer.h
index 9338be6c0..1279a2c1d 100644
--- a/src/pe/raytracing/Raytracer.h
+++ b/src/pe/raytracing/Raytracer.h
@@ -206,7 +206,7 @@ private:
    
    void syncImageUsingMPIReduce(std::vector<BodyIntersectionInfo>& intersectionsBuffer, WcTimingTree* tt = NULL);
    void syncImageUsingMPIGather(std::vector<BodyIntersectionInfo>& intersections,
-                                std::vector<BodyIntersectionInfo>& intersectionsBuffer, WcTimingTree* tt);
+                                std::vector<BodyIntersectionInfo>& intersectionsBuffer, WcTimingTree* tt = NULL);
    
    inline bool isPlaneVisible(const PlaneID plane, const Ray& ray) const;
    inline size_t coordinateToArrayIndex(size_t x, size_t y) const;
-- 
GitLab