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

dprior
Sébastien Villemot 2024-01-05 18:08:54 +01:00
parent 346ee01107
commit 3ab9be71c8
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright © 2004 Ondra Kamenik
* Copyright © 2019-2023 Dynare Team
* Copyright © 2019-2024 Dynare Team
*
* This file is part of Dynare.
*
@ -127,14 +127,14 @@ public:
return run;
}
bool
operator=(const symiterator& it)
operator==(const symiterator& it)
{
return dim == it.dim && run == it.run;
}
bool
operator!=(const symiterator& it)
{
return !operator=(it);
return !operator==(it);
}
};