From 53fb7ea435cb203ac338274b3f701cecc9ed4b0f Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 16 Oct 2002 19:06:28 +0000 Subject: [PATCH] reverted last change: function_index_* ist not necessarily in namespace GiNaC (only for predefined GiNaC functions) --- ginac/function.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0