- default maxargs for functions is 13 to make the current xloops compile
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 24 Feb 2000 18:06:40 +0000 (18:06 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 24 Feb 2000 18:06:40 +0000 (18:06 +0000)
  out-of-the-box
- small fix for abs(): eval() function was not set properly

ginac/function.pl
ginac/inifcns.cpp

index cb0fe80f1d74b5e012c4b5be9acc2b094b4948e7..4a218bbe84952dbeb7f77affbc0285a1062aee08 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-$maxargs=10;
+$maxargs=13;
 
 sub generate_seq {
     my ($seq_template,$n)=@_;
index b3527e9c5a06475e1ec721080a35e9c0a805e9e6..bc401f47266272789b371d9bdced87464ddc3ba7 100644 (file)
@@ -62,7 +62,7 @@ static ex abs_eval(const ex & x)
         return abs(x).hold();
 }
 
-REGISTER_FUNCTION(abs, evalf_func(abs_eval).
+REGISTER_FUNCTION(abs, eval_func(abs_eval).
                        evalf_func(abs_evalf));
 
 //////////