]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Fixed problems on 64-bit machines and introduced has_options::algebraic.
[ginac.git] / ginac / structure.h
index 1ed46cb86818bcabfaaa3980bfb2b0800f6f7eba..33d8ee4c000dc2054f01e4473d9ef4dd1a989934 100644 (file)
@@ -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; }