From d92bec4da6d648909ea37585b7d0b5f7302c1f69 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 8 Sep 2009 14:28:13 +0000 Subject: [PATCH] Circumvent boost bind compiler bug. git-svn-id: https://svn.dealii.org/trunk@19417 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/vector.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5