X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fncmul.h;h=1e0b68eb506fe20b6cd203677b8ef292b6345d65;hp=7b21cf8bcf2c3975384fe2423b2b9c779164138a;hb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6;hpb=7d870583a6bf21a2ffb7b6f051b702064623892e diff --git a/ginac/ncmul.h b/ginac/ncmul.h index 7b21cf8b..1e0b68eb 100644 --- a/ginac/ncmul.h +++ b/ginac/ncmul.h @@ -3,7 +3,7 @@ * Interface to GiNaC's non-commutative products of expressions. */ /* - * GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2014 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 @@ -20,10 +20,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __GINAC_NCMUL_H__ -#define __GINAC_NCMUL_H__ +#ifndef GINAC_NCMUL_H +#define GINAC_NCMUL_H #include "exprseq.h" +#include "archive.h" namespace GiNaC { @@ -71,7 +72,7 @@ public: protected: ex derivative(const symbol & s) const; unsigned return_type() const; - tinfo_t return_type_tinfo() const; + return_type_t return_type_tinfo() const; // new virtual functions which can be overridden by derived classes // none @@ -86,6 +87,7 @@ protected: public: const exvector & get_factors() const; }; +GINAC_DECLARE_UNARCHIVER(ncmul); // friend funtions @@ -94,4 +96,4 @@ ex hold_ncmul(const exvector & v); } // namespace GiNaC -#endif // ndef __GINAC_NCMUL_H__ +#endif // ndef GINAC_NCMUL_H