]> www.ginac.de Git - ginac.git/commitdiff
reverted last change: function_index_* ist not necessarily in namespace GiNaC
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 16 Oct 2002 19:06:28 +0000 (19:06 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Wed, 16 Oct 2002 19:06:28 +0000 (19:06 +0000)
(only for predefined GiNaC functions)

ginac/function.pl

index c76fe75385a184323aec6d86d7e5ae187b45ac72..d75e8f645ebf3e359d565067837b31ba60d7a174 100755 (executable)
@@ -365,7 +365,7 @@ template<> inline bool is_exactly_a<function>(const basic & obj)
 }
 
 #define is_ex_the_function(OBJ, FUNCNAME) \\
 }
 
 #define is_ex_the_function(OBJ, FUNCNAME) \\
-       (GiNaC::is_exactly_a<GiNaC::function>(OBJ) && GiNaC::ex_to<GiNaC::function>(OBJ).get_serial() == GiNaC::function_index_##FUNCNAME)
+       (GiNaC::is_exactly_a<GiNaC::function>(OBJ) && GiNaC::ex_to<GiNaC::function>(OBJ).get_serial() == function_index_##FUNCNAME)
 
 } // namespace GiNaC
 
 
 } // namespace GiNaC