* Fix the other half of the test.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 19 Jun 2001 22:58:20 +0000 (22:58 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 19 Jun 2001 22:58:20 +0000 (22:58 +0000)
check/check_numeric.cpp

index ae15454566d77c9c855b92b87e01f273501b0275..74dcf33b27b7e7815a063ea37740b64fbc4deea0 100644 (file)
@@ -81,7 +81,7 @@ static unsigned check_numeric2(void)
                                     << radical << endl;
                                errorflag = true;
                        }
-                       numeric ratio = ex_to<numeric>(abs(evalf(radical)))/floating;
+                       numeric ratio = abs(ex_to<numeric>(evalf(radical))/floating);
                        if (ratio>1.0001 && ratio<0.9999) {
                                clog << "(" << num << "/" << den << ")^(" << nm
                                     << ") erroneously evaluated to " << radical;