]> www.ginac.de Git - ginac.git/blobdiff - check/exam_numeric.cpp
- use initializers in exception class pole_error.
[ginac.git] / check / exam_numeric.cpp
index fd1bf872c3296f41f5686af4c5355032d6ed68bd..bed17444efaedd36cda072a0b661128aab7e909e 100644 (file)
@@ -79,7 +79,7 @@ static unsigned exam_numeric1(void)
        }
        
        e2 = test_int1 + a;
-       if (ex_to_numeric(e2).is_integer()) {
+       if (e2.info(info_flags::integer)) {
                clog << "expression " << e2
                     << " erroneously recognized as integer" << endl;
                ++result;