X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=check%2Fmatrix_checks.cpp;h=7bce7872bb10d76ea3d10b0e657a596d5418d5d5;hp=1bf8e0c85019c5e94a242bff95bf0383c5dbfe1a;hb=b0265215a51a081d20fe68475e080716afc2d45a;hpb=5c0989497994b35faa9c17b18f936c21dbb22d78;ds=sidebyside diff --git a/check/matrix_checks.cpp b/check/matrix_checks.cpp index 1bf8e0c8..7bce7872 100644 --- a/check/matrix_checks.cpp +++ b/check/matrix_checks.cpp @@ -1,9 +1,31 @@ -// check/matrix_checks.cpp +/** @file matrix_checks.cpp + * + * Here we test manipulations on GiNaC's symbolic matrices. */ -/* Here we test manipulations on GiNaC's symbolic matrices. */ +/* + * 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 +#include + +#ifndef NO_GINAC_NAMESPACE +using namespace GiNaC; +#endif // ndef NO_GINAC_NAMESPACE static unsigned matrix_determinants(void) { @@ -208,7 +230,7 @@ unsigned matrix_checks(void) result += matrix_invert3(); result += matrix_misc(); - if (! result) { + if (!result) { cout << " passed "; clog << "(no output)" << endl; } else {