]> www.ginac.de Git - ginac.git/commitdiff
synced to 1.2
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 30 Jun 2003 16:50:35 +0000 (16:50 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Mon, 30 Jun 2003 16:50:35 +0000 (16:50 +0000)
ginac/expairseq.cpp

index f46039d6c231cd34b9a04592591c6423015ea9fd..9f7116a63c18be26a7a6af024fc275bdc604d633 100644 (file)
@@ -150,7 +150,11 @@ expairseq::expairseq(const archive_node &n, const lst &sym_lst) : inherited(n, s
        , hashtabsize(0)
 #endif
 {
        , hashtabsize(0)
 #endif
 {
+
        for (unsigned int i=0; true; i++) {
        for (unsigned int i=0; true; i++) {
+
+       canonicalize();
+       GINAC_ASSERT(is_canonical());
                ex rest;
                ex coeff;
                if (n.find_ex("rest", rest, sym_lst, i) && n.find_ex("coeff", coeff, sym_lst, i))
                ex rest;
                ex coeff;
                if (n.find_ex("rest", rest, sym_lst, i) && n.find_ex("coeff", coeff, sym_lst, i))