Should kill(all) reset integration_constant_counter?
Subject: Should kill(all) reset integration_constant_counter?
From: David Billinghurst
Date: Sat, 15 Sep 2012 16:24:49 +1000
Should kill(all) reset the variable integration_constant_counter?
It doesn't, and this was a surprise.
Maxima 5.28.0_27_gccdcbaf http://maxima.sourceforge.net
using Lisp CLISP 2.48 (2009-07-28)
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) integrate (1=1,x);
(%o1) x = x + %c1
(%i2) integrate (1=1,x);
(%o2) x = x + %c2
(%i3) integrate (1=1,x);
(%o3) x = x + %c3
(%i4) integration_constant_counter;
(%o4) 3
(%i5) kill(all);
(%o0) done
(%i1) integration_constant_counter;
(%o1) 3
(%i2) integrate (1=1,x);
(%o2) x = x + %c4
(%i3) build_info();
(%o3)
Maxima version: "5.28.0_27_gccdcbaf"
Maxima build date: "2012-08-26 01:46:22"
Host type: "i686-pc-cygwin"
Lisp implementation type: "CLISP"
Lisp implementation version: "2.48 (2009-07-28) (built 3469752760)
(memory 3554898387)"