From: young Date: Tue, 22 Oct 2013 21:03:08 +0000 (+0000) Subject: Release one self-fixed subroutine. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77cec04933dec211624998a1d34a6c11562c2ece;p=dealii-svn.git Release one self-fixed subroutine. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31392 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/block_vector_base.h b/deal.II/include/deal.II/lac/block_vector_base.h index bad6b91390..ede21a4ed2 100644 --- a/deal.II/include/deal.II/lac/block_vector_base.h +++ b/deal.II/include/deal.II/lac/block_vector_base.h @@ -2567,16 +2567,15 @@ void BlockVectorBase::extract_subvector_to (const std::vector template inline -void BlockVectorBase::extract_subvector_to (ForwardIterator indices_begin, - const ForwardIterator indices_end, - OutputIterator values_begin) const +void BlockVectorBase::extract_subvector_to (ForwardIterator indices_begin, + const ForwardIterator indices_end, + OutputIterator values_begin) const { - /* @whattodo */ - /* while (indices_begin != indices_end) { */ - /* *values_begin = operator()(*indices_begin); */ - /* indices_begin++; values_begin++; */ - /* } */ - Assert ((false), ExcMessage ("This function is corrupt: @whattodo")); + while (indices_begin != indices_end) + { + *values_begin = operator()(*indices_begin); + indices_begin++; values_begin++; + } } #endif // DOXYGEN