From: Wolfgang Bangerth Date: Wed, 2 Mar 2005 00:51:28 +0000 (+0000) Subject: Simplify the new operator somewhat. X-Git-Tag: v8.0.0~14565 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a661ee42b4e90dd976f96a6d7efb205b9d56637a;p=dealii.git Simplify the new operator somewhat. git-svn-id: https://svn.dealii.org/trunk@9943 0785d39b-7218-0410-832d-ea1e28bc413d --- 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); } }