]> www.ginac.de Git - ginac.git/blobdiff - check/check_numeric.cpp
* Supplement some (now deprecated) macros by inlined template functions:
[ginac.git] / check / check_numeric.cpp
index 46b78d32d04510fa45001c7fbab5caef87d37f77..17bfbae3febb7fc5a58078c634a2d855d5f2f75f 100644 (file)
@@ -75,7 +75,7 @@ static unsigned check_numeric2(void)
                        ex radical = pow(ex(num)/ex(den),ex(nm));
                        numeric floating = pow(num/den,nm);
                        // test the result:
-                       if (is_ex_of_type(radical,numeric)) {
+                       if (is_a<numeric>(radical)) {
                                clog << "(" << num << "/" << den << ")^(" << nm
                                     << ") should have been a product, instead it's "
                                     << radical << endl;