]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Do so in both places.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Mar 2004 18:30:11 +0000 (18:30 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Mar 2004 18:30:11 +0000 (18:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@8749 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/matrices.all_dimensions.cc

index 48ccb07702b7c48a947b7ce1ebc88dc953785a97..cf1353c8652db2dfac34218c7eee0c223a830b6f 100644 (file)
@@ -102,15 +102,14 @@ MatrixTools::apply_boundary_values (const std::map<unsigned int,double> &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;
        }
 
 

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.