git://www.ginac.de
/
ginac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
afdd7fa
)
function.pl did not compile
author
Alexander Frink
<Alexander.Frink@uni-mainz.de>
Thu, 2 Dec 1999 18:49:37 +0000
(18:49 +0000)
committer
Alexander Frink
<Alexander.Frink@uni-mainz.de>
Thu, 2 Dec 1999 18:49:37 +0000
(18:49 +0000)
ginac/function.pl
patch
|
blob
|
history
diff --git
a/ginac/function.pl
b/ginac/function.pl
index 6493042b7753d5f0583aad1805faab91fe58d33b..41018c93428c8cee29b830411ab43f92fc6a5e6f 100755
(executable)
--- a/
ginac/function.pl
+++ b/
ginac/function.pl
@@
-183,11
+183,11
@@
$declare_function_macro_no_namespace
#ifndef NO_GINAC_NAMESPACE
#define REGISTER_FUNCTION(NAME,E,EF,D,S) \\
#ifndef NO_GINAC_NAMESPACE
#define REGISTER_FUNCTION(NAME,E,EF,D,S) \\
-
const unsigned function_index_##NAME=GiNaC::function::register_new(#NAME,E,EF,D,S);
#else // ndef NO_GINAC_NAMESPACE
const unsigned function_index_##NAME=GiNaC::function::register_new(#NAME,E,EF,D,S);
#else // ndef NO_GINAC_NAMESPACE
+#define REGISTER_FUNCTION(NAME,E,EF,D,S) \\
const unsigned function_index_##NAME=function::register_new(#NAME,E,EF,D,S);
#endif // ndef NO_GINAC_NAMESPACE
const unsigned function_index_##NAME=function::register_new(#NAME,E,EF,D,S);
#endif // ndef NO_GINAC_NAMESPACE