From: janssen Date: Thu, 12 May 2011 11:15:46 +0000 (+0000) Subject: copy the Vector back to a BlockVector in least_squares for BlockVector X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c56056f9a38e28befdf75944d61326487e499d8;p=dealii-svn.git copy the Vector back to a BlockVector in least_squares for BlockVector git-svn-id: https://svn.dealii.org/trunk@23692 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/householder.h b/deal.II/include/deal.II/lac/householder.h index e41be1b9db..4c43cf7290 100644 --- a/deal.II/include/deal.II/lac/householder.h +++ b/deal.II/include/deal.II/lac/householder.h @@ -285,6 +285,9 @@ Householder::least_squares (BlockVector& 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);