|
From: | Nicholas Jankowski |
Subject: | [Octave-bug-tracker] [bug #61199] Allow 'char' input sets to nchoosek for Matlab compatibility |
Date: | Thu, 23 Sep 2021 21:09:26 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 |
Follow-up Comment #17, bug #61199 (project octave): ok, now I'm looking at repelem and there are cell and struct tests in there. nchoosek was written before we had repelem. it calls repelems, which can't handle general arrays. changing calls to repelems to repelem with appropriate calling syntax passes all tests. Added a struct k=2 test that now passes. patch attached. (file #51957) _______________________________________________________ Additional Item Attachment: File name: bug61199-nchoosek-repelemfix.patch Size:1 KB <https://file.savannah.gnu.org/file/bug61199-nchoosek-repelemfix.patch?file_id=51957> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61199> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |