]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.h
* Add namespace declarators to is_ex_the_function().
[ginac.git] / ginac / clifford.h
index 50a0c70cdaa64b96fb68d7322b5b641c39a0a9ea..2d1680c2604ea507c7a2bcd7d871337c7f1caf56 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's clifford algebra (Dirac gamma) objects. */
 
 /*
- *  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
@@ -106,13 +106,6 @@ public:
 
 // global functions
 
-/** Return the clifford object handled by an ex.  Deprecated: use ex_to<clifford>().
- *  This is unsafe: you need to check the type first. */
-inline const clifford &ex_to_clifford(const ex &e)
-{
-       return static_cast<const clifford &>(*e.bp);
-}
-
 /** Specialization of is_exactly_a<clifford>(obj) for clifford objects. */
 template<> inline bool is_exactly_a<clifford>(const basic & obj)
 {