X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fncmul.h;h=f8ba628453388ec1ebe2b30344653ef735503da0;hp=67d381bc473ac6b13d9256c18a209ba2dfd16221;hb=3229ec7c42ffc173f94f1c3bffbc30308c93e571;hpb=aa6281216091efd92dc5fcc3f96c7189114e80f1 diff --git a/ginac/ncmul.h b/ginac/ncmul.h index 67d381bc..f8ba6284 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-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2002 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 @@ -89,13 +89,6 @@ ex simplified_ncmul(const exvector & v); // utility functions -/** Return the ncmul object handled by an ex. Deprecated: use ex_to(). - * This is unsafe: you need to check the type first. */ -inline const ncmul &ex_to_ncmul(const ex &e) -{ - return static_cast (*e.bp); -} - /** Specialization of is_exactly_a(obj) for ncmul objects. */ template<> inline bool is_exactly_a(const basic & obj) {