X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fpowerlaws.cpp;h=b7fdd60c554ade490f6add40b772126bd12a90a2;hp=9177dd709a0994fc2d263d18fa57883167322683;hb=d8148ca72f0e9c5f39b7142a87f004a7a5840d69;hpb=5c0989497994b35faa9c17b18f936c21dbb22d78 diff --git a/check/powerlaws.cpp b/check/powerlaws.cpp index 9177dd70..b7fdd60c 100644 --- a/check/powerlaws.cpp +++ b/check/powerlaws.cpp @@ -1,9 +1,31 @@ -// check/powerlaws.cpp +/** @file powerlaws.cpp + * + * Tests for power laws. You shouldn't try to draw much inspiration from + * this code, it is a sanity check rather deeply rooted in GiNaC's classes. */ -/* Tests for power laws. You shouldn't try to draw much inspiration from - * this code, it is a sanity check rather deeply rooted in GiNaC's classes. */ +/* + * GiNaC Copyright (C) 1999 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 + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -#include "ginac.h" +#include + +#ifndef NO_GINAC_NAMESPACE +using namespace GiNaC; +#endif // ndef NO_GINAC_NAMESPACE static unsigned powerlaws1(void) {