From aad2e178af86fa8236e51a686e6bbf636e1bd6c7 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Thu, 1 Mar 2018 11:58:45 +0100
Subject: [PATCH] Add lower/upper constructors for operator counted Vec4d

---
 dune/perftool/common/vectorclass.hh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dune/perftool/common/vectorclass.hh b/dune/perftool/common/vectorclass.hh
index 9a87d058..8208d0a1 100644
--- a/dune/perftool/common/vectorclass.hh
+++ b/dune/perftool/common/vectorclass.hh
@@ -46,10 +46,11 @@ struct Vec4d
     BARRIER;
   }
 
-  Vec4d(double d)
+  Vec4d(F dl, F du)
   {
     BARRIER;
-    std::fill(_d,_d+4,d);
+    std::fill(_d,_d+2,dl);
+    std::fill(_d+2,_d+4,du);
     BARRIER;
   }
 
@@ -684,10 +685,11 @@ struct Vec8d
     BARRIER;
   }
 
-  Vec8d(double d)
+  Vec8d(F dl, F du)
   {
     BARRIER;
-    std::fill(_d,_d+8,d);
+    std::fill(_d,_d+4,dl);
+    std::fill(_d+4,_d+8,du);
     BARRIER;
   }
 
-- 
GitLab