[bug #55659] s_idx output of ismember uses last occurrence when there are duplicates, Matlab uses first

Rik <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #55659 (group octave):

                  Status:         Patch Submitted => Fixed
             Open/Closed:                    Open => Closed
           Fixed Release:                    None => 12.1.0 (current default)

    _______________________________________________________

Follow-up Comment #6:

@Nicholas: This is a great changeset.  I'm not sure why it languished here for
so long.  Of course, it didn't apply cleanly since it was meant for Octave 8.
I updated the patch for current dev branch and  including some small tweaks to
the Texinfo documentation and the input validation.  See cset 4f63b09a19df.

I found that it wasn't returning the correct index when the *"rows"* argument
was used.  I made a separate cset for that at ebeda8ac5dca.

Marking this bug as Fixed and closing report.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55659>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCadqidQAKCRCqLAuaBUf3
Tu2DAP9XQ3sxF8pdXQjogcLxNb1L8cfWEqJrlYJi7gfYWlwjegEAyHjyGKrYs0Eu
RdaU2GpD5kA6hfymiXkoQ1JgFjKbTA8=
=jM3z
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.