]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Make (a+b+c+...)^n work for huuuge terms.
[ginac.git] / ginac / structure.h
index 6cefe0c8b7f48462e2f073116a666d35a8a6378d..b664a6afcb0216e58ae6305667ff761d7c5049ac 100644 (file)
@@ -3,7 +3,7 @@
  *  Wrapper template for making GiNaC classes out of C++ structures. */
 
 /*
- *  GiNaC Copyright (C) 1999-2009 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2015 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
@@ -210,7 +210,7 @@ protected:
                GINAC_ASSERT(is_a<structure>(other));
                const structure & o = static_cast<const structure &>(other);
 
-               return struct_is_equal(&obj, &o.obj);
+               return this->struct_is_equal(&obj, &o.obj);
        }
 
        unsigned calchash() const { return inherited::calchash(); }
@@ -237,7 +237,7 @@ int structure<T, CP>::compare_same_type(const basic & other) const
        GINAC_ASSERT(is_a<structure>(other));
        const structure & o = static_cast<const structure &>(other);
 
-       return struct_compare(&obj, &o.obj);
+       return this->struct_compare(&obj, &o.obj);
 }
 
 template <class T, template <class> class CP>