From: Wolfgang Bangerth Date: Wed, 25 Feb 2015 13:49:02 +0000 (-0600) Subject: Add another template specialization for ProductType. X-Git-Tag: v8.3.0-rc1~415^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf65ace23d73f7f0204d6a2008acd353174a579;p=dealii.git Add another template specialization for ProductType. --- diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index a8f08c7436..80a7e1992b 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -394,6 +394,12 @@ struct ProductType // Annoyingly, there is no std::complex::operator*(U) for scalars U // other than T. Consequently, even with C++11, we need the following // specializations: +template +struct ProductType,std::complex > +{ + typedef std::complex type; +}; + template struct ProductType,std::complex > {