From: Matthias Maier Date: Mon, 7 Sep 2015 01:03:36 +0000 (-0500) Subject: Bugfix: Add more typetraits to ProductType for non C++11 X-Git-Tag: v8.4.0-rc2~466^2~16 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b82cd155179d8d831c3e31faf445a569ab80361;p=dealii.git Bugfix: Add more typetraits to ProductType for non C++11 --- 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