display patch, was: get name of variable as string in function?
Subject: display patch, was: get name of variable as string in function?
From: Edwin Woollett
Date: Sat, 11 Feb 2012 10:48:39 -0800
On Feb. 10, 2012, Raymond Toy wrote:
----------------------
>I suspect this is not a problem with the new version. I'm guessing you
>will have the same problem if you load the original version of comm.lisp.
>
>With the current git version of maxima, I don't run into any problems...
--------------------------------------------------------------------------
You are right - just loading in comm.lisp messes with integrate.
-----------------------------------------------------------
(%i1) integrate(-1/(x^2-x),x,-1/2,1/2);
Principal Value
(%o1) log(3)
(%i2) load ("comm-old.lisp")$
(%i3) integrate(-1/(x^2-x),x,-1/2,1/2);
Maxima encountered a Lisp error:
Error in COND [or a callee]: The variable NUM is unbound.
Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.
-----------------------------------
Ted