#729 lisp error in plot3d()

closed
5
2009-12-09
2005-04-26
Anonymous
No

Here is the error:

(%i1) plot3d(x**y,[x,0,1],[y,0,1]);
Maxima encountered a Lisp error:

Error in CATCH [or a callee]: Expected a LONG-FLOAT

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i2)

Discussion

  • Barton Willis

    Barton Willis - 2005-04-27

    Logged In: YES
    user_id=895922

    Avoiding x=0 and y=0 is a workaround

    plot3d(x^y,[x,0.01,1],[y,0.01,1]);

    But the error message ' Error in CATCH [or a callee]:
    Expected a LONG-FLOAT' is goofy. There is something wrong that
    needs to be fixed.

    Barton

     
  • Raymond Toy

    Raymond Toy - 2005-08-19

    Logged In: YES
    user_id=28849

    The actual problem is that when we compute 0.0^0.0, the
    function returns T. (I think this was done to support
    adaptive plotting where non-number means a singularity of
    some sort. But we don't do adaptive 3-D plotting.)

    I'd really like it if we could use Lisp conditions to signal
    these kinds of errors so we can handle them better.

     
  • Robert Dodier

    Robert Dodier - 2006-04-10
    • labels: 460522 --> Lisp Core - Plotting
     
  • Robert Dodier

    Robert Dodier - 2007-06-27

    Logged In: YES
    user_id=501686
    Originator: NO

    Still present in Maxima 5.12.0 (both Clisp and GCL, in different forms). This is annoying; assigning this report to myself in hope that I'll get around to it soon.

     
  • Robert Dodier

    Robert Dodier - 2007-06-27
    • assigned_to: nobody --> robert_dodier
     
  • Dieter Kaiser

    Dieter Kaiser - 2009-11-24

    This error seems to be no longer present in Maxima 5.19post.

    Setting the status to pending and resolution to "works for me".

    Dieter Kaiser

     
  • Dieter Kaiser

    Dieter Kaiser - 2009-11-24
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

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

Sign up for the SourceForge newsletter:





No, thanks