Fix a typo in the GCD testcase.
authorAlexei Sheplyakov <alexei.sheplyakov@gmail.com>
Sun, 22 May 2011 12:15:07 +0000 (15:15 +0300)
committerJens Vollinga <jensv@nikhef.nl>
Sun, 22 May 2011 13:21:49 +0000 (15:21 +0200)
check/bugme_chinrem_gcd.cpp

index 6a3f399..2a1bf29 100644 (file)
@@ -57,8 +57,8 @@ static void check_extract_integer_content()
 static void integer_coeff_braindamage()
 {
        parser readme;
-       ex A = readme("3*x2 + 1");
-       ex B = readme("9*x2 + 1");
+       ex A = readme("3*x^2 + 1");
+       ex B = readme("9*x^2 + 1");
        ex g = chinrem_gcd(A, B);
        if (!g.is_equal(ex(1))) {
                std::cerr << "expected 1, got " << g << std::endl;