]> www.ginac.de Git - ginac.git/blobdiff - ginac/ncmul.h
finalized 1.0.14
[ginac.git] / ginac / ncmul.h
index 67d381bc473ac6b13d9256c18a209ba2dfd16221..78a45ed6d65db00ae4635391df781f07c58bf6e1 100644 (file)
@@ -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-2003 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<ncmul>().
- *  This is unsafe: you need to check the type first. */
-inline const ncmul &ex_to_ncmul(const ex &e)
-{
-       return static_cast <const ncmul &>(*e.bp);
-}
-
 /** Specialization of is_exactly_a<ncmul>(obj) for ncmul objects. */
 template<> inline bool is_exactly_a<ncmul>(const basic & obj)
 {