Mercurial > octave
diff scripts/set/ismember.m @ 26684:c17bdf3b3841 stable
ismember.m: Fix incorrect example in documentation (bug #55659).
* ismember.m: Correct return results of second example using cell strings.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 06 Feb 2019 13:17:30 -0800 |
parents | 00f796120a6d |
children | a23f25cc2aae 616b844e903a |
line wrap: on
line diff
--- a/scripts/set/ismember.m Wed Feb 06 11:15:16 2019 -0800 +++ b/scripts/set/ismember.m Wed Feb 06 13:17:30 2019 -0800 @@ -46,8 +46,8 @@ ## a = @{"abc"@}; ## s = @{"abc", "def"@}; ## [tf, s_idx] = ismember (a, s) -## @result{} tf = [1, 0] -## @result{} s_idx = [1, 0] +## @result{} tf = 1 +## @result{} s_idx = 1 ## @end group ## @end example ##