]> www.ginac.de Git - ginac.git/blobdiff - check/bugme_chinrem_gcd.cpp
Finalize 1.7.6 release.
[ginac.git] / check / bugme_chinrem_gcd.cpp
index 9325e338710c20eaf6387342ccebe418fc049e68..b3161e8a341d6dbef7fd18a8e41b487f10c1f8cb 100644 (file)
@@ -3,7 +3,7 @@
  * A small program exposing historical bug in poly_cra function. */
 
 /*
- *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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;