X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;ds=sidebyside;f=check%2Fparser_memleak.cpp;h=f347ce9aca10c471502de492e0a5478d1c65cccf;hb=773570d668a8a86d4c646dfe9d8572746329652c;hp=ebc6ed9f59a750584aa7de0e88b7627738bfcdc8;hpb=86fe62b1f98e61167e0f1012ff078a2f1547458f;p=ginac.git diff --git a/check/parser_memleak.cpp b/check/parser_memleak.cpp index ebc6ed9f..f347ce9a 100644 --- a/check/parser_memleak.cpp +++ b/check/parser_memleak.cpp @@ -18,7 +18,7 @@ int main(int argc, char** argv) { const symbol x("x"), y("y"); const lst syms(x, y); // parser-generated symbol => memory leak. - static const char* str[] = { "x2+2*x*y + cos(x)", "Li2(x/y) + log(y/x)" }; + static const char* str[] = { "x^2+2*x*y + cos(x)", "Li2(x/y) + log(y/x)" }; // depends on the amount of the available VM, compiler options, etc. const unsigned N_max = 500000;