From 765fa929d3cfac126372dd716135e026b1d9551a Mon Sep 17 00:00:00 2001 From: Baerbel Jannsen Date: Thu, 12 May 2011 11:15:46 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/lac/householder.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5