]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Circumvent boost bind compiler bug.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 8 Sep 2009 14:28:13 +0000 (14:28 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 8 Sep 2009 14:28:13 +0000 (14:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@19417 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/vector.h

index 38ed5b720cf732534d809b1d0f4271669383d783..e9d78239a50583aa081e4834fb895a782baebc1c 100644 (file)
@@ -1079,9 +1079,11 @@ Vector<Number> & Vector<Number>::operator = (const Number s)
 
 
 
+#ifdef DEAL_II_BOOST_BIND_COMPILER_BUG
 template <>
 inline
-Vector<std::complex<float> > & Vector<std::complex<float> >::operator = (const std::complex<float> s)
+Vector<std::complex<float> > & 
+Vector<std::complex<float> >::operator = (const std::complex<float> s)
 {
   Assert (numbers::is_finite(s),
           ExcMessage("The given value is not finite but either infinite or Not A Number (NaN)"));
@@ -1093,6 +1095,7 @@ Vector<std::complex<float> > & Vector<std::complex<float> >::operator = (const s
 
   return *this;
 }
+#endif
 
 
 

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.