]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a partial specialization that creates trouble due to ambiguity
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 17 Feb 2015 23:46:37 +0000 (17:46 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 17 Feb 2015 23:46:37 +0000 (17:46 -0600)
and that looks wrong anyway.

include/deal.II/base/template_constraints.h

index b5b07894edefbb8589668cee0e0786af0a660e5d..da97f7e93c73b9b6013fd32be716397a953bc996 100644 (file)
@@ -366,24 +366,12 @@ struct ProductType<T,T>
   typedef T type;
 };
 
-template <typename T>
-struct ProductType<T,double>
-{
-  typedef T type;
-};
-
 template <typename T>
 struct ProductType<T,bool>
 {
   typedef T type;
 };
 
-template <typename T>
-struct ProductType<double,T>
-{
-  typedef T type;
-};
-
 template <typename T>
 struct ProductType<bool, T>
 {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.