From: Baerbel Jannsen 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-Tag: v8.0.0~4073 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=765fa929d3cfac126372dd716135e026b1d9551a;p=dealii.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);