[Top][All Lists]
[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: |
Thu, 15 Mar 2012 08:28:57 +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 #5, bug #35761 (project octave):
You are right, in fact the test should be relative
if (std::abs (min_val - max_val) <= sqrt (DBL_EPSILON) *
std::max (std::abs (min_val), std::abs (max_val)))
as already mentioned in some FIXME comments. Also notices that I put <=
instead of <, otherwise this test
x = y = ones (3);
z = zeros (3);
surf (x,y,z)
fails.
Marco
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35761>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35761] Probably float64-representation bug., anonymous, 2012/03/08
- [Octave-bug-tracker] [bug #35761] Probably float64-representation bug., Rik, 2012/03/09
- [Octave-bug-tracker] [bug #35761] Probably float64-representation bug., Rik, 2012/03/09
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/09
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Marco Caliari, 2012/03/14
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/14
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other,
Marco Caliari <=
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Jordi GutiƩrrez Hermoso, 2012/03/15
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/15
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Marco Caliari, 2012/03/16
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/16
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Ben Abbott, 2012/03/16
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/16
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Marco Caliari, 2012/03/19
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/19
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Marco Caliari, 2012/03/19
- [Octave-bug-tracker] [bug #35761] surf() fails when Z values are within eps of each other, Rik, 2012/03/25