]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify logic.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Mar 2004 15:09:06 +0000 (15:09 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 30 Mar 2004 15:09:06 +0000 (15:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@8924 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 2b1930bc259fc148f3e7fcad6678dd6153b2a7b7..fb7acc9d22fb7ea920ab94cfac96a6b55cda8635 100644 (file)
@@ -1971,7 +1971,7 @@ namespace internals
                                            // if we happened to find the end
                                            // of the matrix, then stop here
           if (accessor.a_row == accessor.matrix->m())
-            return *this;
+            break;
         }
       
       return *this;
@@ -2001,7 +2001,7 @@ namespace internals
                                            // if we happened to find the end
                                            // of the matrix, then stop here
           if (accessor.a_row == accessor.matrix->m())
-            return iter;
+            break;
         }
 
       return iter;

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.