- fixed a very stupid ancient error (older than v0.4.0).
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 2 Aug 2001 02:53:14 +0000 (02:53 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Thu, 2 Aug 2001 02:53:14 +0000 (02:53 +0000)
check/exam_numeric.cpp

index 7a7c603c6a8664d952ea26d0d411ed4da5a4e694..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;