From 15d4b353c85f8815a95d97ab977c9ca48e155574 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Tue, 11 Jan 2000 22:25:05 +0000 Subject: [PATCH] - made nops() return unsigned instead of int - changed dates in copyright notices --- ginac/add.cpp | 2 +- ginac/add.h | 2 +- ginac/assertion.h | 2 +- ginac/basic.cpp | 12 ++++++------ ginac/basic.h | 4 ++-- ginac/clifford.cpp | 2 +- ginac/clifford.h | 2 +- ginac/color.cpp | 12 ++++++------ ginac/color.h | 2 +- ginac/coloridx.cpp | 2 +- ginac/coloridx.h | 2 +- ginac/constant.cpp | 2 +- ginac/constant.h | 2 +- ginac/container.pl | 4 ++-- ginac/debugmsg.h | 2 +- ginac/diff.cpp | 2 +- ginac/ex.cpp | 10 +++++----- ginac/ex.h | 6 +++--- ginac/expair.h | 2 +- ginac/expairseq.cpp | 4 ++-- ginac/expairseq.h | 4 ++-- ginac/exprseq_suppl.cpp | 2 +- ginac/fail.cpp | 2 +- ginac/fail.h | 2 +- ginac/flags.h | 2 +- ginac/function.pl | 4 ++-- ginac/ginac.h | 2 +- ginac/idx.cpp | 6 +++--- ginac/idx.h | 2 +- ginac/indexed.cpp | 2 +- ginac/indexed.h | 2 +- ginac/inifcns.cpp | 14 +++++++------- ginac/inifcns.h | 2 +- ginac/inifcns_gamma.cpp | 2 +- ginac/inifcns_trans.cpp | 2 +- ginac/inifcns_zeta.cpp | 2 +- ginac/isospin.cpp | 2 +- ginac/isospin.h | 2 +- ginac/lorentzidx.cpp | 2 +- ginac/lorentzidx.h | 2 +- ginac/lortensor.cpp | 2 +- ginac/lortensor.h | 2 +- ginac/lst_suppl.cpp | 2 +- ginac/matrix.cpp | 4 ++-- ginac/matrix.h | 6 +++--- ginac/mul.cpp | 4 ++-- ginac/mul.h | 2 +- ginac/ncmul.cpp | 10 +++++----- ginac/ncmul.h | 2 +- ginac/normal.cpp | 11 +++++------ ginac/normal.h | 2 +- ginac/numeric.cpp | 2 +- ginac/numeric.h | 2 +- ginac/operators.cpp | 2 +- ginac/operators.h | 2 +- ginac/power.cpp | 4 ++-- ginac/power.h | 4 ++-- ginac/relational.cpp | 4 ++-- ginac/relational.h | 4 ++-- ginac/series.cpp | 2 +- ginac/series.h | 2 +- ginac/simp_lor.cpp | 12 ++++++------ ginac/simp_lor.h | 2 +- ginac/structure.cpp | 2 +- ginac/structure.h | 2 +- ginac/structure.pl | 4 ++-- ginac/symbol.cpp | 6 +++--- ginac/symbol.h | 2 +- ginac/tinfos.h | 2 +- ginac/utils.cpp | 2 +- ginac/utils.h | 2 +- 71 files changed, 124 insertions(+), 125 deletions(-) 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