From 6ec65f3902c18643abe5e31f15e193eeb16cc70e Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Thu, 16 May 2019 16:01:33 +0200 Subject: [PATCH] Do not specialize IsNumber for adouble That's already done in adolcnamespaceinjections.hh, in dune-fufem. --- test/adolctest.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/adolctest.cc b/test/adolctest.cc index 99db4bdf..fca92535 100644 --- a/test/adolctest.cc +++ b/test/adolctest.cc @@ -27,15 +27,6 @@ typedef double FDType; #include <dune/fufem/utilities/adolcnamespaceinjections.hh> #include <dune/common/typetraits.hh> -// This specialization is needed (in particular) to make copying of FieldMatrices work. -namespace Dune { - template <> - struct IsNumber<adouble> - { - constexpr static bool value = true; - }; -} - #include <dune/common/fmatrix.hh> #include <dune/geometry/quadraturerules.hh> -- GitLab