]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Break a statement in a way that is easier to read. 6532/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 08:34:06 +0000 (16:34 +0800)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 8 May 2018 10:43:28 +0000 (18:43 +0800)
include/deal.II/lac/constraint_matrix.h

index 6e5a3a771f20f96bf04062839018ce99f0e87916..b49fe069d5f373fbce2ebdc0370794e0c4d3841d 100644 (file)
@@ -1785,8 +1785,8 @@ void ConstraintMatrix::distribute_local_to_global (
           const ConstraintLine &position =
             lines[lines_cache[calculate_line_index(*local_indices_begin)]];
           for (size_type j=0; j<position.entries.size(); ++j)
-            internal::ElementAccess<VectorType>::add(*local_vector_begin *
-                                                     position.entries[j].second, position.entries[j].first,
+            internal::ElementAccess<VectorType>::add((*local_vector_begin) * position.entries[j].second,
+                                                     position.entries[j].first,
                                                      global_vector);
         }
     }

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.