]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.h
Fix previous commit 'Speed up special cases of square-free...'.
[ginac.git] / ginac / relational.h
index 0c9d65a1a6b713a2ef1f74f038a37e3e51d023ba..cfdda958e02b5a72266ff02e6394bd3de31c5eb7 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to relations between expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2018 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
@@ -76,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: