Re: [Maxima-bugs] [ maxima-Bugs-572668 ] plo2d & plot3d with constant expressions



>>>>> ">" == noreply  <noreply@sourceforge.net> writes:

    >> Bugs item #572668, was opened at 2002-06-23 05:27
    >> You can respond by visiting: 
    >> http://sourceforge.net/tracker/?func=detail&atid=104933&aid=572668&group_id=4933

    >> Category: None
    >> Group: None
    >> Status: Open
    >> Resolution: None
    >> Priority: 5
    >> Submitted By: Vadim V. Zhytnikov (vvzhy)
    >> Assigned to: Nobody/Anonymous (nobody)
    >> Summary: plo2d & plot3d with constant expressions

    >> Initial Comment:
    >> plot2d(1,[x,0,3]); 
    >> produces different result in gcl and clisp
    >> (probably clisp is correct) and lisp error 
    >> with cmucl.

The lisp error happens on CMUCL because 1 is not of type double-float.

I don't think we should globally compile this file with safety = 0.  I
think the default compilations policy is more than adequate for this.
(Well, the demos work more than fast enough for me on my relatively
slow 300 MHz Ultra 30.)  We can optimize the routines on an as needed
basis, with appropriate declarations, etc.

    >> plot3d(1,[x,0,3],[y,0,3]);
    >> plot3d(sin(x),[x,0,3],[y,0,3]);
    >> produce lisp error with all lisps.

Not sure what to do about this.  The functions take 0 and 1 args,
respectively, but plotting passes in 2 args.

Ray