]> www.ginac.de Git - ginac.git/commitdiff
fixed stupid typo
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 24 Oct 2002 20:44:54 +0000 (20:44 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 24 Oct 2002 20:44:54 +0000 (20:44 +0000)
check/exam_paranoia.cpp

index 104e20da9207f7b5f07ccddb7f305107691c1ab8..68762e963621f543da2afb3b5a50cbe0cc7046eb 100644 (file)
@@ -362,7 +362,7 @@ static unsigned exam_paranoia15(void)
        // this used to produce "1+4*sqrt(2)+4*2" which would never evaluate
        // to "9+4*sqrt(2)"
 
-       if (!(q-9-4*pow(2, numeric(1, 2).is_zero()) {
+       if (!(q-9-4*pow(2, numeric(1, 2))).is_zero()) {
                clog << "expand((sqrt(2)*2+1)^2) erroneously returned " << q << " instead of 9-4*sqrt(2)\n";
                ++result;
        }