]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.cpp
cleaned up some is_a<> vs. is_exactly_a<> stuff
[ginac.git] / ginac / mul.cpp
index f60937069bea7dc00abd5e0bbe8dd3947af19a6a..63f6381d27c4e960500b0d3b7ab2770576d36aec 100644 (file)
@@ -224,7 +224,7 @@ void mul::print(const print_context & c, unsigned level) const
                        // and all others
                        exvector neg_powers, others;
                        while (it != itend) {
-                               GINAC_ASSERT(is_a<numeric>(it->coeff));
+                               GINAC_ASSERT(is_exactly_a<numeric>(it->coeff));
                                if (ex_to<numeric>(it->coeff).is_negative())
                                        neg_powers.push_back(recombine_pair_to_ex(expair(it->rest, -(it->coeff))));
                                else