|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #38151] Empty length in a linspace |
Date: | Wed, 20 Feb 2013 23:48:18 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 |
Update of bug #38151 (project octave): Status: None => Wont Fix Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: I think that Octave probably has the correct behavior. According to the linspace documentation it wants a scalar number N for the number of points. The empty matrix is not zero (a scalar number), but an entirely different data type (matrix). It seems fine to flag the user that linspace has been called incorrectly. The error message also points out error: linspace: N must be an integer which gives a good clue about what a user would need to do to make it work. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38151> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |