]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Bug fix related to the usage of int instead of cl_I.
[ginac.git] / ginac / structure.h
index 1ed46cb86818bcabfaaa3980bfb2b0800f6f7eba..26dff67beefd88ed12e38ba4a03b25f4e2b212e2 100644 (file)
@@ -3,7 +3,7 @@
  *  Wrapper template for making GiNaC classes out of C++ structures. */
 
 /*
- *  GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 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
@@ -155,7 +155,7 @@ public:
        ex & operator[](size_t i) { return inherited::operator[](i); }
 
        // pattern matching
-       bool has(const ex & other) const { return inherited::has(other); }
+       bool has(const ex & other, unsigned options = 0) const { return inherited::has(other, options); }
        bool match(const ex & pattern, lst & repl_lst) const { return inherited::match(pattern, repl_lst); }
 protected:
        bool match_same_type(const basic & other) const { return true; }
@@ -200,7 +200,7 @@ public:
 
        // noncommutativity
        unsigned return_type() const { return return_types::commutative; }
-       const basic* return_type_tinfo() const { return this; }
+       tinfo_t return_type_tinfo() const { return this; }
 
 protected:
        bool is_equal_same_type(const basic & other) const