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

None
closed
nobody
None
5
2016-12-08
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.

     
  • Kris Katterjohn

    Kris Katterjohn - 2016-12-08
    • status: open --> closed
     
  • Kris Katterjohn

    Kris Katterjohn - 2016-12-08

    I'm closing this report as the problem was fixed in commit [79d9dc]. I guess I didn't notice (or possibly didn't check for) this bug report when I committed that.

     

    Related

    Commit: [79d9dc]


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks