X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fmul_eval_memleak.cpp;h=2d2930f2a7ab08563083cfd21859de4888ee0c7c;hp=8bde60c28afdee7e5170cd6f1da47aa48b655e80;hb=a1232ef3c23d3af7673c96ec4f0e0c652054564a;hpb=83a7ee99a947cbbf331018b803ad6be43a9ccd45 diff --git a/check/mul_eval_memleak.cpp b/check/mul_eval_memleak.cpp index 8bde60c2..2d2930f2 100644 --- a/check/mul_eval_memleak.cpp +++ b/check/mul_eval_memleak.cpp @@ -1,19 +1,20 @@ -/** - * @file mul_eval_memleak.cpp Test for memory leak in {mul,power}::eval +/** @file mul_eval_memleak.cpp * - * The bug was introduced by + * mul_eval_memleak.cpp Test for memory leak in {mul,power}::eval * - * commit f418c6ee4d558c852e1fb95533af07a3ae43f409 - * Author: Alexei Sheplyakov - * Date: Wed Jul 11 14:34:42 2007 +0400 - * (it was commited into the official branch as - * commit a602d34c225dceb3e53742a7b3e19a4b5e280485 - * Author: Jens Vollinga - * Date: Wed Jul 11 21:07:40 2007 +0000) + * The bug was introduced by + * + * commit f418c6ee4d558c852e1fb95533af07a3ae43f409 + * Author: Alexei Sheplyakov + * Date: Wed Jul 11 14:34:42 2007 +0400 + * (it was commited into the official branch as + * commit a602d34c225dceb3e53742a7b3e19a4b5e280485 + * Author: Jens Vollinga + * Date: Wed Jul 11 21:07:40 2007 +0000) */ /* - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2014 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 @@ -30,12 +31,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include -#include +using namespace GiNaC; + +#include #include +#include using namespace std; -using namespace GiNaC; const unsigned check_mul_eval_memleak(const unsigned N) { @@ -116,4 +118,3 @@ int main(int argc, char** argv) { } return 0; } -