|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #41890] nchoosek(vector, 0) should return a 1x0 matrix instead of 0x0 |
Date: | Tue, 18 Mar 2014 04:42:15 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #1, bug #41890 (project octave): This is just a matter of changing lines 83-84 in nchoosek.m from: elseif (k == 0) A = []; to: elseif (k == 0) A = zeros(1,0); _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41890> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |