From 1b82cd155179d8d831c3e31faf445a569ab80361 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 6 Sep 2015 20:03:36 -0500 Subject: [PATCH] Bugfix: Add more typetraits to ProductType for non C++11 --- include/deal.II/base/template_constraints.h | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index 5123f89618..28e1f0cb95 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -436,6 +436,30 @@ struct ProductType typedef float type; }; +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef double type; +}; + +template <> +struct ProductType +{ + typedef float type; +}; + +template <> +struct ProductType +{ + typedef float type; +}; + #endif -- 2.39.5