X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fcolor.h;h=be51156dc084965c00545426dda8d61ff79e9e75;hb=8c957d0e11b6819d3b648e8548141cbff5792e2a;hp=03b9d8d3ebd6164ea6664cc9d1aab2c3d488248f;hpb=aa6281216091efd92dc5fcc3f96c7189114e80f1;p=ginac.git diff --git a/ginac/color.h b/ginac/color.h index 03b9d8d3..be51156d 100644 --- a/ginac/color.h +++ b/ginac/color.h @@ -3,7 +3,7 @@ * 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 @@ -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) {