X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=check%2Fexam_misc.cpp;h=412f5d94122b41ac3b9c7581130db3ad6256cc8e;hb=43e0a8f5ca5e1c48cef5daaf014acdbca4e44568;hp=86bd12abb1e728ecbde9deb3139103a890f14a63;hpb=f4ea690a3f118bf364190f0ef3c3f6d2ccdf6206;p=ginac.git diff --git a/check/exam_misc.cpp b/check/exam_misc.cpp index 86bd12ab..412f5d94 100644 --- a/check/exam_misc.cpp +++ b/check/exam_misc.cpp @@ -1,8 +1,9 @@ /** @file exam_misc.cpp * */ + /* - * GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2001 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 @@ -25,27 +26,24 @@ #define VECSIZE 30 static unsigned exam_expand_subs(void) { - unsigned result = 0; - symbol a1("a1"); - symbol a[VECSIZE]; - ex e, aux; - - a[1] = a1; - for (unsigned i=0; i