]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix yet another problem.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 1 Oct 2001 09:09:56 +0000 (09:09 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 1 Oct 2001 09:09:56 +0000 (09:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@5126 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_vector.h

index f324250ff766618c43a4529d75a223dc22ba088e..8097e63c2c2274b2cb58b16b0f6cc1ba76615e03 100644 (file)
@@ -1263,7 +1263,7 @@ namespace BlockVectorIterators
   Iterator<number,constness>::
   Iterator (const InverseConstnessIterator &c)
                  :
-                 parent (c.parent),
+                 parent (const_cast<BlockVectorType*>(c.parent)),
                  global_index (c.global_index),
                  current_block (c.current_block),
                  index_within_block (c.index_within_block),

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.