]> www.ginac.de Git - ginac.git/blobdiff - check/exam_misc.cpp
- renamed configure.in to configure.ac as suggested in the autoconf docs
[ginac.git] / check / exam_misc.cpp
index 353afce2a0840fcf84a3cac240020b9948d9a776..d703a93ada5eca54a7fe1966544d1ae80d2276f3 100644 (file)
@@ -139,7 +139,7 @@ static unsigned exam_operator_semantics(void)
        ex e1, e2;
        int i1, i2;
        
-       // Assignment should not return const ex:
+       // Assignment should not return const ex though it may be obfuscated:
        e1 = 7; e2 = 4;
        i1 = 7; i2 = 4;
        (e1 = e2) = 2;
@@ -191,7 +191,7 @@ static unsigned exam_operator_semantics(void)
        // (which incidentally was severely broken from version 0.7.3 to 0.8.2).
        ex selfprobe = numeric("65536");
        selfprobe = selfprobe;
-       if (!is_ex_exactly_of_type(selfprobe, numeric)) {
+       if (!is_exactly_a<numeric>(selfprobe)) {
                clog << "ex (of numeric) after self-assignment became " << selfprobe << endl;
                ++result;
        }