]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Release one self-fixed subroutine.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 21:03:08 +0000 (21:03 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 21:03:08 +0000 (21:03 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31392 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/block_vector_base.h

index bad6b91390ba362f2b5662807bbc0f11c50851f2..ede21a4ed222956ce2d1dbd0500bed530490bc26 100644 (file)
@@ -2567,16 +2567,15 @@ void BlockVectorBase<VectorType>::extract_subvector_to (const std::vector<size_t
 template <typename VectorType>
 template <typename ForwardIterator, typename OutputIterator>
 inline
-void BlockVectorBase<VectorType>::extract_subvector_to (ForwardIterator          indices_begin,
-                                                        const ForwardIterator    indices_end,
-                                                        OutputIterator           values_begin) const
+void BlockVectorBase<VectorType>::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

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.