Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2694 Reset() Causes Declare(f, integervalued) unknown

None
open
nobody
None
5
2014-03-04
2014-03-04
Tom Dean
No

/usr/local/bin/maxima
Maxima 5.32.1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.10 (a.k.a. GCL)
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) declare(f,integervalued);
(%o1) done
(%i2) kill(all);
(%o0) done
(%i1) declare(f,integervalued);
(%o1) done
...
(%i2) kill(all);
(%o0) done
(%i1) declare(f,integervalued);
(%o1) done
(%i2) reset();
(%o1) [linenum, _, leftjust, labels, lispdisp, %, __, tr-unique, features]
(%i2) declare(f,integervalued);

declare: unknown property integervalued
-- an error. To debug this try: debugmode(true);

Discussion

  • Robert Dodier
    Robert Dodier
    2014-03-04

    The immediate cause of this is that the integervalued property is
    established using a user-level function, so reset causes that property
    to be erased. One way to fix it is to treat integervalued like other
    built-in properties. It's not immediately clear to me which bits
    need to be twiddled -- at least FEATUREL, maybe others.