diff --git a/mex/sources/libkorder/sylv/QuasiTriangular.hh b/mex/sources/libkorder/sylv/QuasiTriangular.hh index a719a0408f6053ea13029608414c2628f8fae72e..0d7bcf1045bc961b70a836b8f0a223a96dc04478 100644 --- a/mex/sources/libkorder/sylv/QuasiTriangular.hh +++ b/mex/sources/libkorder/sylv/QuasiTriangular.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004-2011 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -245,11 +245,6 @@ public: { return ptr == it.ptr; } - bool - operator!=(const _Self& it) const - { - return ptr != it.ptr; - } _TRef operator*() const { diff --git a/mex/sources/libkorder/sylv/Vector.cc b/mex/sources/libkorder/sylv/Vector.cc index d108c0aac2a7271c34d4cc9d479bdf6908526924..1887a624713fbe50025392fd6c7a4fc463cb6de1 100644 --- a/mex/sources/libkorder/sylv/Vector.cc +++ b/mex/sources/libkorder/sylv/Vector.cc @@ -1,6 +1,6 @@ /* * Copyright © 2004-2011 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -120,12 +120,6 @@ Vector::operator==(const Vector& y) const return ConstVector(*this) == y; } -bool -Vector::operator!=(const Vector& y) const -{ - return ConstVector(*this) != y; -} - bool Vector::operator<(const Vector& y) const { diff --git a/mex/sources/libkorder/sylv/Vector.hh b/mex/sources/libkorder/sylv/Vector.hh index 1168ff0bb8f99939e0ebcd5777b33e8100889c7e..be6d5f378c72ccbf119edce5750819c8f58a00df 100644 --- a/mex/sources/libkorder/sylv/Vector.hh +++ b/mex/sources/libkorder/sylv/Vector.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004-2011 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -110,7 +110,6 @@ public: // Exact equality. bool operator==(const Vector& y) const; - bool operator!=(const Vector& y) const; // Lexicographic ordering. bool operator<(const Vector& y) const; bool operator<=(const Vector& y) const; @@ -220,11 +219,6 @@ public: } // Exact equality bool operator==(const ConstVector& y) const; - bool - operator!=(const ConstVector& y) const - { - return !operator==(y); - } // Lexicographic ordering bool operator<(const ConstVector& y) const; bool diff --git a/mex/sources/libkorder/tl/equivalence.hh b/mex/sources/libkorder/tl/equivalence.hh index 1ff89fc77c6da19438a93c68017d1c617562250d..1cc9e9abe22975fda0a6e54b0c3c3dca3c779b06 100644 --- a/mex/sources/libkorder/tl/equivalence.hh +++ b/mex/sources/libkorder/tl/equivalence.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -121,11 +121,6 @@ public: Equivalence(const Equivalence& e, int i1, int i2); bool operator==(const Equivalence& e) const; - bool - operator!=(const Equivalence& e) const - { - return !operator==(e); - } [[nodiscard]] int getN() const { diff --git a/mex/sources/libkorder/tl/gs_tensor.hh b/mex/sources/libkorder/tl/gs_tensor.hh index 966ecb111543784c385507cfa754ee790a2a54fe..69046e3be8fd7e05bc91c1cbf78f18389ab1c2d3 100644 --- a/mex/sources/libkorder/tl/gs_tensor.hh +++ b/mex/sources/libkorder/tl/gs_tensor.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -81,11 +81,6 @@ public: { return nvs == td.nvs && sym == td.sym; } - bool - operator!=(const TensorDimens& td) const - { - return !operator==(td); - } [[nodiscard]] int dimen() const diff --git a/mex/sources/libkorder/tl/int_sequence.hh b/mex/sources/libkorder/tl/int_sequence.hh index d43d82d8e6a8a40fc9fe350ef5feff5c446e4210..e3af71b3a0a1b5fc74526cf2164aa7e65dd30e62 100644 --- a/mex/sources/libkorder/tl/int_sequence.hh +++ b/mex/sources/libkorder/tl/int_sequence.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -120,11 +120,6 @@ public: delete[] data; } bool operator==(const IntSequence& s) const; - bool - operator!=(const IntSequence& s) const - { - return !operator==(s); - } int& operator[](int i) { diff --git a/mex/sources/libkorder/tl/symmetry.hh b/mex/sources/libkorder/tl/symmetry.hh index 38af83afb571997c197d303d2b9b4cdc85668b79..997d0052ce6d4c81734073d5e59dbfef95701055 100644 --- a/mex/sources/libkorder/tl/symmetry.hh +++ b/mex/sources/libkorder/tl/symmetry.hh @@ -131,11 +131,6 @@ public: { return dim == it.dim && run == it.run; } - bool - operator!=(const symiterator& it) - { - return !operator==(it); - } }; /* The class SymmetrySet defines a set of symmetries of the given length diff --git a/mex/sources/libkorder/tl/tensor.hh b/mex/sources/libkorder/tl/tensor.hh index 5a326a4fa9d6c85a8e85c5d25351f71a04913249..a210bd8898b3ad24540e4844577e3e6010b7840a 100644 --- a/mex/sources/libkorder/tl/tensor.hh +++ b/mex/sources/libkorder/tl/tensor.hh @@ -1,6 +1,6 @@ /* * Copyright © 2004 Ondra Kamenik - * Copyright © 2019-2023 Dynare Team + * Copyright © 2019-2024 Dynare Team * * This file is part of Dynare. * @@ -155,11 +155,6 @@ public: { return offset == n.offset; } - bool - operator!=(const index& n) const - { - return offset != n.offset; - } [[nodiscard]] const IntSequence& getCoor() const {