From 94b8daf77c642b56d45859c93e3ac55064b44249 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 15 Mar 2004 18:30:11 +0000 Subject: [PATCH] Do so in both places. git-svn-id: https://svn.dealii.org/trunk@8749 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/matrices.all_dimensions.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc b/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc index 48ccb07702..cf1353c865 100644 --- a/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc +++ b/deal.II/deal.II/source/numerics/matrices.all_dimensions.cc @@ -102,15 +102,14 @@ MatrixTools::apply_boundary_values (const std::map &boundar if (matrix.diag_element(dof_number) != 0.0) { new_rhs = dof->second * matrix.diag_element(dof_number); - right_hand_side(dof_number) - = new_rhs; + right_hand_side(dof_number) = new_rhs; } else { matrix.set (dof_number, dof_number, first_nonzero_diagonal_entry); - new_rhs = right_hand_side(dof_number) - = dof->second * first_nonzero_diagonal_entry; + new_rhs = dof->second * first_nonzero_diagonal_entry; + right_hand_side(dof_number) = new_rhs; } -- 2.39.5