]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
match() (find()): use exmap (exset) to store matched subexpressions.
[ginac.git] / ginac / structure.h
index 26dff67beefd88ed12e38ba4a03b25f4e2b212e2..d00100b13ab60e156a10f1ca9c80b8c40fbcad10 100644 (file)
@@ -156,7 +156,7 @@ public:
 
        // pattern matching
        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); }
+       bool match(const ex & pattern, exmap& repl_lst) const { return inherited::match(pattern, repl_lst); }
 protected:
        bool match_same_type(const basic & other) const { return true; }
 public: