|
From: | Francesco Potortì |
Subject: | [Octave-bug-tracker] [bug #37410] image.m has a wrong check for linearly-spaced x and y |
Date: | Thu, 20 Sep 2012 11:44:34 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20100101 Firefox/10.0.7 Iceweasel/10.0.7 |
URL: <http://savannah.gnu.org/bugs/?37410> Summary: image.m has a wrong check for linearly-spaced x and y Project: GNU Octave Submitted by: pot Submitted on: Thu 20 Sep 2012 01:44:33 PM CEST Category: Libraries Severity: 3 - Normal Priority: 5 - Normal Item Group: Regression Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 3.6.2 Operating System: GNU/Linux _______________________________________________________ Details: The check in image.m is dx = diff (x); dx = std (dx) / mean (abs (dx)); tol = 100*eps; if (any (dx > tol)) warning but this is too strict. I stumbled upon it with x=linspace(0,10.43,743); I suggest to set tol = 100*rows(x); _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37410> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |