From b6b628a378a8a2aa0cb29a7aea0cd084fbca71ab Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@wwu.de>
Date: Tue, 15 Aug 2017 16:04:30 +0200
Subject: [PATCH] [math/absvalue] allow proper ADL

---
 dune/xt/common/math.hh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dune/xt/common/math.hh b/dune/xt/common/math.hh
index 452253cad..b8663e8e8 100644
--- a/dune/xt/common/math.hh
+++ b/dune/xt/common/math.hh
@@ -87,7 +87,8 @@ struct AbsoluteValue
 {
   static T result(const T& val)
   {
-    return std::abs(val);
+    using std::abs;
+    return abs(val);
   }
 };
 template <class T>
-- 
GitLab