]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix r29449
authorTimo Heister <timo.heister@gmail.com>
Thu, 9 May 2013 23:30:06 +0000 (23:30 +0000)
committerTimo Heister <timo.heister@gmail.com>
Thu, 9 May 2013 23:30:06 +0000 (23:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@29490 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_sparse_matrix.h

index 348ff352c3b9987b0d6de14ea9b78ecaa54e6492..abcab431af8db5e42371c14caba3117f1ec587f0 100644 (file)
@@ -2948,7 +2948,7 @@ namespace TrilinosWrappers
     Epetra_CombineMode mode = last_action;
     if (last_action == Zero)
     {
-      if ((operation==::dealii::VectorOperation::add) &&
+      if ((operation==::dealii::VectorOperation::add) ||
           (operation==::dealii::VectorOperation::unknown))
         mode = Add;
       else if (operation==::dealii::VectorOperation::insert)

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.