]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
copy the Vector back to a BlockVector in least_squares for BlockVector
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 May 2011 11:15:46 +0000 (11:15 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 May 2011 11:15:46 +0000 (11:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@23692 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/householder.h

index e41be1b9dbc2e1e41c9444f0e20cad322efcea5d..4c43cf72901fa2043389bb4f4bab191ae10e3474 100644 (file)
@@ -285,6 +285,9 @@ Householder<number>::least_squares (BlockVector<number2>& dst,
   v_aux = *aux;
                                   // Compute solution
   this->backward(v_dst, v_aux);
+                                   //copy the result back 
+                                   //to the BlockVector
+  dst = v_dst;
 
   mem.free(aux);
   

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.