X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fcolor.h;h=cc7ac31e54a5963de6a0b72129c82d202e81206b;hp=03b9d8d3ebd6164ea6664cc9d1aab2c3d488248f;hb=6d231b596b31700123a34f71e97fca8d370fef6f;hpb=aa6281216091efd92dc5fcc3f96c7189114e80f1 diff --git a/ginac/color.h b/ginac/color.h index 03b9d8d3..cc7ac31e 100644 --- a/ginac/color.h +++ b/ginac/color.h @@ -117,13 +117,6 @@ public: // global functions -/** Return the color object handled by an ex. Deprecated: use ex_to(). - * This is unsafe: you need to check the type first. */ -inline const color &ex_to_color(const ex &e) -{ - return static_cast(*e.bp); -} - /** Specialization of is_exactly_a(obj) for color objects. */ template<> inline bool is_exactly_a(const basic & obj) {