From 22e6b5b7ab6d6c48de1687b293c6e6ece68d3426 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Thu, 24 Oct 2002 20:44:54 +0000 Subject: [PATCH] fixed stupid typo --- check/exam_paranoia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/exam_paranoia.cpp b/check/exam_paranoia.cpp index 104e20da..68762e96 100644 --- a/check/exam_paranoia.cpp +++ b/check/exam_paranoia.cpp @@ -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; } -- 2.49.0