* Interface to GiNaC's color (SU(3) Lie algebra) 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
// global functions
-/** Return the color object handled by an ex. Deprecated: use ex_to<color>().
- * This is unsafe: you need to check the type first. */
-inline const color &ex_to_color(const ex &e)
-{
- return static_cast<const color &>(*e.bp);
-}
-
/** Specialization of is_exactly_a<color>(obj) for color objects. */
template<> inline bool is_exactly_a<color>(const basic & obj)
{