From a661ee42b4e90dd976f96a6d7efb205b9d56637a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 2 Mar 2005 00:51:28 +0000 Subject: [PATCH] Simplify the new operator somewhat. git-svn-id: https://svn.dealii.org/trunk@9943 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 39d8546005..0377668d87 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -2187,7 +2187,7 @@ namespace internals Iterator:: operator > (const Iterator& other) const { - return !((*this < other) || (*this == other)); + return (other < *this); } } -- 2.39.5