From: Martin Kronbichler Date: Tue, 8 Sep 2009 14:28:13 +0000 (+0000) Subject: Circumvent boost bind compiler bug. X-Git-Tag: v8.0.0~7156 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92bec4da6d;p=dealii.git Circumvent boost bind compiler bug. git-svn-id: https://svn.dealii.org/trunk@19417 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/vector.h b/deal.II/lac/include/lac/vector.h index 38ed5b720c..e9d78239a5 100644 --- a/deal.II/lac/include/lac/vector.h +++ b/deal.II/lac/include/lac/vector.h @@ -1079,9 +1079,11 @@ Vector & Vector::operator = (const Number s) +#ifdef DEAL_II_BOOST_BIND_COMPILER_BUG template <> inline -Vector > & Vector >::operator = (const std::complex s) +Vector > & +Vector >::operator = (const std::complex 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 > & Vector >::operator = (const s return *this; } +#endif