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=b6ff16f074596dfdf60ba0c3b58b5836a80fc404;hb=ff50f412bb89eed2c78adffa0f390341753e8792;hpb=9eab44408b9213d8909b7a9e525f404ad06064dd diff --git a/check/expand_subs.cpp b/check/expand_subs.cpp index b6ff16f0..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,8 +31,11 @@ */ -#include +#include "ginac.h" + +#ifndef NO_NAMESPACE_GINAC using namespace GiNaC; +#endif // ndef NO_NAMESPACE_GINAC #define VECSIZE 100 @@ -83,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 {