- no, no, no, there is no such thing as is_of_type<T>(ex&)...
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Fri, 27 Jul 2001 03:24:46 +0000 (03:24 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Fri, 27 Jul 2001 03:24:46 +0000 (03:24 +0000)
ginac/function.pl

index f6923c0a356b6191c28f53ebecffe98838f16808..258f4a07b82ea18fce25d639ea58317d68b1cbfe 100755 (executable)
@@ -734,7 +734,7 @@ ex function::eval(int level) const
        // Canonicalize argument order according to the symmetry properties
        if (seq.size() > 1 && !(opt.symtree.is_zero())) {
                exvector v = seq;
-               GINAC_ASSERT(is_of_type<symmetry>(opt.symtree));
+               GINAC_ASSERT(is_a<symmetry>(opt.symtree));
                int sig = canonicalize(v.begin(), ex_to<symmetry>(opt.symtree));
                if (sig != INT_MAX) {
                        // Something has changed while sorting arguments, more evaluations later