From: Christian Bauer Date: Wed, 16 Oct 2002 19:06:28 +0000 (+0000) Subject: reverted last change: function_index_* ist not necessarily in namespace GiNaC X-Git-Tag: release_1-0-12~14 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=53fb7ea435cb203ac338274b3f701cecc9ed4b0f reverted last change: function_index_* ist not necessarily in namespace GiNaC (only for predefined GiNaC functions) --- diff --git a/ginac/function.pl b/ginac/function.pl index c76fe753..d75e8f64 100755 --- a/ginac/function.pl +++ b/ginac/function.pl @@ -365,7 +365,7 @@ template<> inline bool is_exactly_a(const basic & obj) } #define is_ex_the_function(OBJ, FUNCNAME) \\ - (GiNaC::is_exactly_a(OBJ) && GiNaC::ex_to(OBJ).get_serial() == GiNaC::function_index_##FUNCNAME) + (GiNaC::is_exactly_a(OBJ) && GiNaC::ex_to(OBJ).get_serial() == function_index_##FUNCNAME) } // namespace GiNaC