From: Richard Kreckel Date: Tue, 11 Jan 2000 22:25:05 +0000 (+0000) Subject: - made nops() return unsigned instead of int X-Git-Tag: release_0-5-0~73 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=15d4b353c85f8815a95d97ab977c9ca48e155574 - made nops() return unsigned instead of int - changed dates in copyright notices --- diff --git a/ginac/add.cpp b/ginac/add.cpp index d376b5d1..8700ce6e 100644 --- a/ginac/add.cpp +++ b/ginac/add.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's sums of expressions. */ /* - * 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 diff --git a/ginac/add.h b/ginac/add.h index 40cc25a5..d2d4d769 100644 --- a/ginac/add.h +++ b/ginac/add.h @@ -3,7 +3,7 @@ * Interface to GiNaC's sums of expressions. */ /* - * 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 diff --git a/ginac/assertion.h b/ginac/assertion.h index b208b847..451257f5 100644 --- a/ginac/assertion.h +++ b/ginac/assertion.h @@ -3,7 +3,7 @@ * Assertion macro definition. */ /* - * 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 diff --git a/ginac/basic.cpp b/ginac/basic.cpp index 7b6a6fbe..a8f2baa0 100644 --- a/ginac/basic.cpp +++ b/ginac/basic.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's ABC. */ /* - * 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 @@ -134,7 +134,7 @@ void basic::printtree(ostream & os, unsigned indent) const << ", hash=" << hashvalue << " (0x" << hex << hashvalue << dec << ")" << ", flags=" << flags << ", nops=" << nops() << endl; - for (int i=0; i0) { - for (int i=0; i(this))->let_op(i).gethash(); } @@ -332,7 +332,7 @@ ex basic::subs(ex const & e) const } lst ls; lst lr; - for (int i=0; inops(); @@ -335,7 +335,7 @@ ex ex::numer(bool normalize) const if (!is_ex_exactly_of_type(n, mul)) return n; ex res = _ex1(); - for (int i=0; i(e.bp); return true; } else if (is_ex_exactly_of_type(e, add) || is_ex_exactly_of_type(e, mul)) { - for (int i=0; i(e.bp), v); } else if (is_ex_exactly_of_type(e, add) || is_ex_exactly_of_type(e, mul)) { - for (int i=0; i