[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #9989] [statistics] improve the compatibil
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #9989] [statistics] improve the compatibility of 'linkage' |
Date: |
Thu, 31 Dec 2020 11:17:45 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #2, patch #9989 (project octave):
I think there must be a mistake. The patch I submitted removes that condition
check on d:
if (isempty (d))
error ("linkage: d cannot be empty");
- elseif ( nargin < 3 && ~ isvector (d))
- error ("linkage: d must be a vector");
endif
Actually, after applying the patch, you should be able to run:
>> X = rand (20000, 3);
>> Z = linkage (X, "ward");
That is exactly the main problem I tried to overcome with this patch. The
other one being the "savememory" option.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?9989>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/