]> www.ginac.de Git - ginac.git/blobdiff - ginac/expair.h
- moved is_of_type and friend macros into utils.h so they can be phased
[ginac.git] / ginac / expair.h
index a285295899223a9268628cf639d9551ca01e238e..d7a76ca1574dc115e831492467748caf85152ab3 100644 (file)
@@ -94,8 +94,7 @@ public:
        bool is_canonical_numeric(void) const
        {
                GINAC_ASSERT(is_exactly_a<numeric>(coeff));
-               return (is_ex_exactly_of_type(rest,numeric) &&
-                       (coeff.is_equal(1)));
+               return (is_exactly_a<numeric>(rest) && (coeff.is_equal(1)));
        }
 
        /** Swap contents with other expair. */