X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Frelational.h;h=20e720dc0f4524e10d78b2c1b426b880d545efce;hp=64ea0ff8e311dc4766a99534ad83cb9890f87e06;hb=4a9f6c276daf54acbb2f5951f0435bfb6f014809;hpb=da64e515abf7243bc4c84ca3631470931c4e6691 diff --git a/ginac/relational.h b/ginac/relational.h index 64ea0ff8..20e720dc 100644 --- a/ginac/relational.h +++ b/ginac/relational.h @@ -3,7 +3,7 @@ * Interface to relations between expressions. */ /* - * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2008 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 @@ -63,7 +63,7 @@ protected: ex eval_ncmul(const exvector & v) const; bool match_same_type(const basic & other) const; unsigned return_type() const; - unsigned return_type_tinfo() const; + tinfo_t return_type_tinfo() const; unsigned calchash() const; // new virtual functions which can be overridden by derived classes @@ -103,12 +103,6 @@ protected: // utility functions -/** Specialization of is_exactly_a(obj) for relational objects. */ -template<> inline bool is_exactly_a(const basic & obj) -{ - return obj.tinfo()==TINFO_relational; -} - // inlined functions for efficiency inline relational::safe_bool relational::operator!() const {