]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Clarify a statement.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 21:36:23 +0000 (21:36 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 21:36:23 +0000 (21:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@27985 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_sparse_matrix.cc

index 25b5f1ce566e1f26e4046d2459e5e358c701b7a3..e91644772071f2c43463ad21023acce6da5ee539 100644 (file)
@@ -620,7 +620,8 @@ set_matrix_values:
     std::size_t in_index, index;
 
     for (unsigned int row=0; row<n_rows; ++row)
-      if (input_row_map.MyGID(static_cast<int>(row)))
+      // see if the row is locally stored on this processor
+      if (input_row_map.MyGID(static_cast<int>(row)) == true)
         {
           index = rowstart_indices[row];
           in_index = in_rowstart_indices[row];

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.