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 f46039d..9f7116a 100644 (file)
@@ -150,7 +150,11 @@ expairseq::expairseq(const archive_node &n, const lst &sym_lst) : inherited(n, s
        , hashtabsize(0)
 #endif
 {
+
        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))