Issues with rducon - (Was: Maxima fails to load rducon)
Subject: Issues with rducon - (Was: Maxima fails to load rducon)
From: Felix Homann
Date: Sat, 07 Jun 2008 13:28:12 +0200
Hi Robert,
yes, after applying your change rducon loads fine. Albeit, it doesn't work!
Here's a sample session
#############################
Maxima 5.15.0 http://maxima.sourceforge.net
Using Lisp CLISP 2.44 (2008-02-02)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) load(rducon);
(%o1)
/home/fex/download/CAS/maxima/maxima-5.15.0/share/simplification/rducon.lisp
(%i2) declare([a,b], constant);
(%o2) done
(%i3) reduce_consts( a^2 + b^2 );
Maxima encountered a Lisp error:
EVAL: undefined function FIXP
Automatically continuing.
#############################
Since something similar has been discussed some months ago for another
simplification package I tried to put
(defun fixp (n)
(typep n 'fixnum))
in rducon.lisp. With that change I get
################
(%i3) reduce_consts(a^2+b^2);
Maxima encountered a Lisp error:
EVAL: undefined function | |
Automatically continuing.
################
Which doesn't make it better in any way.
Any ideas?
Kind regards,
Felix
Robert Dodier wrote:
> Looks like rducon.lisp wants to load another package named "expense".
> Try changing (load "expense") to ($load "expense") in your copy.
> ($LOAD searches for "expense" while LOAD does not.)
> I'll make the same change in CVS. Thanks for pointing out this problem.
>
> Robert Dodier