X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fnumeric_consist.cpp;h=494cc5791270551bd67ba0f666f08475cb22d449;hp=d7edb3b61d71ad5a511dc17686a14594a0240aef;hb=955cb185a85535ab328ffedbfccdc508ce80fa91;hpb=b5e7e31e6d33bbae4d635c27637c7e114b043735 diff --git a/check/numeric_consist.cpp b/check/numeric_consist.cpp index d7edb3b6..494cc579 100644 --- a/check/numeric_consist.cpp +++ b/check/numeric_consist.cpp @@ -161,7 +161,7 @@ static unsigned numeric_consist2(void) // The fix in the workaround left a whole which was fixed hours later... ex another_zero = pow(zero,numeric(1)/numeric(2)); - if (another_zero.compare(exZERO())) { + if (!another_zero.is_zero()) { clog << "pow(0,1/2) erroneously returned" << another_zero << endl; ++result; }