|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #51187] ISMEMBER fails if the string ends in a space: |
Date: | Wed, 7 Jun 2017 16:02:56 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 |
Update of bug #51187 (project octave): Status: Patch Submitted => In Progress _______________________________________________________ Follow-up Comment #6: @Guillaume, comment #5: In the inline Matlab docs (r2017a) for ismember there's a stanza that clearly indicates that Matlab's ismember honors trailing spaces. If your first example came from Matlab, I think you've hit a Matlab bug (what ML version did you use then?) Your suggestion for a fix won't work as it invokes cellstr() which is at the heart of the problem - that function strips the trailing spaces. We need a way for turning a char array into a cellstring array while preserving trailing spaces. Status -> in progress _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51187> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |