X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fmul_eval_memleak.cpp;h=d66faf2b02e87ad0fbe314d81ef5495e2bfbd6d9;hp=78e9312c0d8f7a8e46b9b08891c6559721e4328c;hb=798d53ebb4da4e8e3865ed7bd7f31412fe2be3a7;hpb=37678db7297076f166969b92d5d96f1d46b7fdee diff --git a/check/mul_eval_memleak.cpp b/check/mul_eval_memleak.cpp index 78e9312c..d66faf2b 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-2007 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 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; } -