X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=ginac%2Frelational.h;h=ac6caecfd801425de214b380f8a7df0c8fff2a9c;hb=709e61093f43462b5816f859a32a31cc00758da8;hp=c8bf8b6d44c306a2b2f88c3126a595270e278d63;hpb=d5b86dd10dd9cba12175d07af0b6edfc9a215e36;p=ginac.git diff --git a/ginac/relational.h b/ginac/relational.h index c8bf8b6d..ac6caecf 100644 --- a/ginac/relational.h +++ b/ginac/relational.h @@ -3,7 +3,7 @@ * Interface to relations between expressions. */ /* - * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,7 +58,6 @@ public: ex op(size_t i) const override; ex map(map_function & f) const override; ex subs(const exmap & m, unsigned options = 0) const override; - ex eval(int level=0) const override; /** Save (a.k.a. serialize) object into archive. */ void archive(archive_node& n) const override; @@ -77,8 +76,8 @@ protected: void do_print_python_repr(const print_python_repr & c, unsigned level) const; public: - virtual ex lhs() const; - virtual ex rhs() const; + ex lhs() const { return lh; } + ex rhs() const { return rh; } // non-virtual functions in this class private: