From 3725c07bc39f479b071897af8a89d0f5e8f19f59 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Mon, 30 Jun 2003 16:50:17 +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 041994af..d4dd3df1 100644 --- a/ginac/expairseq.cpp +++ b/ginac/expairseq.cpp @@ -150,7 +150,11 @@ expairseq::expairseq(const archive_node &n, lst &sym_lst) : inherited(n, sym_lst #if EXPAIRSEQ_USE_HASHTAB , hashtabsize(0) #endif + { + + canonicalize(); + GINAC_ASSERT(is_canonical()); for (unsigned int i=0; true; i++) { ex rest; ex coeff; -- 2.45.0