Skip to content
Snippets Groups Projects
Verified Commit 3ab9be71 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

:bug: k-order MEX: equality operator on symiterator had wrong name

parent 346ee011
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright © 2004 Ondra Kamenik * Copyright © 2004 Ondra Kamenik
* Copyright © 2019-2023 Dynare Team * Copyright © 2019-2024 Dynare Team
* *
* This file is part of Dynare. * This file is part of Dynare.
* *
...@@ -127,14 +127,14 @@ public: ...@@ -127,14 +127,14 @@ public:
return run; return run;
} }
bool bool
operator=(const symiterator& it) operator==(const symiterator& it)
{ {
return dim == it.dim && run == it.run; return dim == it.dim && run == it.run;
} }
bool bool
operator!=(const symiterator& it) operator!=(const symiterator& it)
{ {
return !operator=(it); return !operator==(it);
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment