From 1d07d8ac9fb47c51aa19a84df6c8c5fee5dd5105 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Mon, 30 Jun 2003 16:50:35 +0000 Subject: [PATCH] synced to 1.2 --- ginac/expairseq.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ginac/expairseq.cpp b/ginac/expairseq.cpp index f46039d6..9f7116a6 100644 --- a/ginac/expairseq.cpp +++ b/ginac/expairseq.cpp @@ -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)) -- 2.49.0