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

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

[Octave-bug-tracker] [bug #35761] surf() fails when Z values are within


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other
Date: Wed, 14 Mar 2012 15:14:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Follow-up Comment #3, bug #35761 (project octave):

What about replacing all


if (min_val == max_val)


with


if (std::abs (min_val - max_val) < sqrt (DBL_EPSILON))


in graphics.cc? 
The problematic line, in this case, is 6505. But I don't see any reason to
leave the strict comparisons.

Marco

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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