Skip to content
Snippets Groups Projects
Commit 426d8087 authored by Markus Blatt's avatar Markus Blatt
Browse files

Missing comparison between BCRSMatrix::Iterator and

BCRSMatrix::ConstIterator introduced.

[[Imported from SVN: r316]]
parent 06d3b048
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,19 @@ namespace Dune {
// return (p+i)!=(it.p+it.i);
return (i)!=(it.i);
}
//! equality
bool operator== (const ConstIterator& it) const
{
// return (p+i)==(it.p+it.i);
return (i)==(it.i);
}
//! inequality
bool operator!= (const ConstIterator& it) const
{
// return (p+i)!=(it.p+it.i);
return (i)!=(it.i);
}
//! less than
bool operator< (const Iterator& it) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment