X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fncmul.h;h=5c56e14cb460ad35a29ed75bff91bb06236e6a00;hb=52c44ffaee28a70b6df3280c3354ee4241473b14;hp=7b21cf8bcf2c3975384fe2423b2b9c779164138a;hpb=83a7ee99a947cbbf331018b803ad6be43a9ccd45;p=ginac.git diff --git a/ginac/ncmul.h b/ginac/ncmul.h index 7b21cf8b..5c56e14c 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-2011 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