]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify the new operator somewhat.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 2 Mar 2005 00:51:28 +0000 (00:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 2 Mar 2005 00:51:28 +0000 (00:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@9943 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 39d85460059ccbae6c949a27bb1cdffdf9c3d4bf..0377668d879175d3e24a17c1d35483452e10c1b1 100644 (file)
@@ -2187,7 +2187,7 @@ namespace internals
     Iterator<number,Constness>::
     operator > (const Iterator& other) const
     {
-      return !((*this < other) || (*this == other));
+      return (other < *this);
     }
     
   }

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.