]> www.ginac.de Git - ginac.git/blobdiff - ginac/function.pl
- no, no, no, there is no such thing as is_of_type<T>(ex&)...
[ginac.git] / 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;
        // 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
                int sig = canonicalize(v.begin(), ex_to<symmetry>(opt.symtree));
                if (sig != INT_MAX) {
                        // Something has changed while sorting arguments, more evaluations later