X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Fbugme_chinrem_gcd.cpp;h=dbf1399a90dc1242f21e9bcf993428fa837531a6;hb=39eceef41403ae77569110626f1fc957243228b7;hp=6a3f39921a81f6f9770557cfe7f4c6262b417034;hpb=286b0d93528e35957a50c51343e0b4a9bc623bce;p=ginac.git diff --git a/check/bugme_chinrem_gcd.cpp b/check/bugme_chinrem_gcd.cpp index 6a3f3992..dbf1399a 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-2011 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2018 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;