]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Improved output.
[ginac.git] / ginac / structure.h
index 1c28d7501a3fb40c30ef742f372546e5bb90b13a..469acdecd998eb38c51c84c79576cf76e6789785 100644 (file)
@@ -3,7 +3,7 @@
  *  Wrapper template for making GiNaC classes out of C++ structures. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2004 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
@@ -26,6 +26,8 @@
 #include <functional>
 
 #include "ex.h"
+#include "ncmul.h"
+#include "operators.h"
 #include "print.h"
 
 namespace GiNaC {
@@ -182,8 +184,8 @@ public:
 
        // rational functions
        ex normal(exmap & repl, exmap & rev_lookup, int level = 0) const { return inherited::normal(repl, rev_lookup, level); }
-       ex to_rational(lst & repl_lst) const { return inherited::to_rational(repl_lst); }
-       ex to_polynomial(lst & repl_lst) const { return inherited::to_polynomial(repl_lst); }
+       ex to_rational(exmap & repl) const { return inherited::to_rational(repl); }
+       ex to_polynomial(exmap & repl) const { return inherited::to_polynomial(repl); }
 
        // polynomial algorithms
        numeric integer_content() const { return 1; }