]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.h
fixed a bug where quo() would call vector::reserve() with a negative argument
[ginac.git] / ginac / color.h
index 03b9d8d3ebd6164ea6664cc9d1aab2c3d488248f..cc7ac31e54a5963de6a0b72129c82d202e81206b 100644 (file)
@@ -117,13 +117,6 @@ public:
 
 // 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)
 {