// $Id$
// Version: $Name$
//
-// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by the deal.II authors
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
#include <boost/lambda/lambda.hpp>
#include <cstdio>
+#include <cstring>
#include <vector>
DEAL_II_NAMESPACE_OPEN
dealii::Vector<T> &dst)
{
if (s == T())
- memset ((dst.begin()+begin),0,(end-begin)*sizeof(T));
+ std::memset ((dst.begin()+begin),0,(end-begin)*sizeof(T));
else
std::fill (&*(dst.begin()+begin), &*(dst.begin()+end), s);
}
#ifdef DEAL_II_BOOST_BIND_COMPILER_BUG
template <>
inline
-Vector<std::complex<float> > &
+Vector<std::complex<float> > &
Vector<std::complex<float> >::operator = (const std::complex<float> s)
{
Assert (numbers::is_finite(s),
parallel::apply_to_subranges (0U, vec_size,
std_cxx1x::bind(&internal::Vector::template
copy_subrange<Number>,
- std_cxx1x::cref(v), _1, _2,
+ std_cxx1x::cref(v), _1, _2,
std_cxx1x::ref(*this)),
internal::Vector::minimum_parallel_grain_size);
else if (vec_size > 0)
parallel::apply_to_subranges (0U, vec_size,
std_cxx1x::bind(&internal::Vector::template
copy_subrange_ext<Number2,Number>,
- std_cxx1x::cref(v), _1, _2,
+ std_cxx1x::cref(v), _1, _2,
std_cxx1x::ref(*this)),
internal::Vector::minimum_parallel_grain_size);
else if (vec_size > 0)
(factor*boost::lambda::_1),
internal::Vector::minimum_parallel_grain_size);
}
-
+
template <typename Number>
val[indices[i]] += values[i];
}
}
-
+
template <typename Number>