X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fexpand_subs.cpp;h=419cea7f2962fd792d4f8b94013fba5e180c3fdc;hp=4d78708b1573648c822c33b66b24204a13a9f8b9;hb=ff50f412bb89eed2c78adffa0f390341753e8792;hpb=afdd7fa8c6c0a587f7c80789198551383e8beb7b;ds=sidebyside diff --git a/check/expand_subs.cpp b/check/expand_subs.cpp index 4d78708b..419cea7f 100644 --- a/check/expand_subs.cpp +++ b/check/expand_subs.cpp @@ -13,7 +13,7 @@ * after which e should return 0 (without expanding). */ /* - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2000 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 @@ -31,11 +31,11 @@ */ -#include +#include "ginac.h" -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC using namespace GiNaC; -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC #define VECSIZE 100 @@ -86,11 +86,11 @@ unsigned expand_subs(void) cout << "checking commutative expansion and substitution..." << flush; clog << "---------commutative expansion and substitution:" << endl; - + result += expand_subs1(); result += expand_subs2(); - - if (! result) { + + if (!result) { cout << " passed "; clog << "(no output)" << endl; } else {