octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using ri


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes
Date: Fri, 03 Feb 2012 02:05:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10

Follow-up Comment #27, bug #35292 (project octave):

 I think I found the nan problem  on line 6578 of graphics.cc
if (is_logscale)
    {
      if (is_negative)
        {
          double tmp = hi;
          hi = std::log10 (-lo);
          lo = std::log10 (-tmp);
          val = std::log10 (-val);    this is line 6578
        }
   
val is pos when we get here and this makes nans
I will recompile and try my fix

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]