X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fbugme_chinrem_gcd.cpp;h=0bdcc93a66beb3895a7e6ed6d5d0991898955bb6;hp=9325e338710c20eaf6387342ccebe418fc049e68;hb=7550e991907e1bd8dad50bfdb5af2ff2f312af8f;hpb=59fa68b8930779dfc419291d028b57b0d91d33d0 diff --git a/check/bugme_chinrem_gcd.cpp b/check/bugme_chinrem_gcd.cpp index 9325e338..0bdcc93a 100644 --- a/check/bugme_chinrem_gcd.cpp +++ b/check/bugme_chinrem_gcd.cpp @@ -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-2020 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;