octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #29863] ismember outputs do not match input ar


From: Jaroslav Hajek
Subject: [Octave-bug-tracker] [bug #29863] ismember outputs do not match input array dimension
Date: Wed, 12 May 2010 05:09:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

Update of bug #29863 (project octave):

                  Status:                    None => Works For Me           
             Assigned to:                    None => highegg                

    _______________________________________________________

Follow-up Comment #1:

This is what I get in the development version:

octave:1> f=[1 2 3;3 4 5; 1 4 9];
octave:2> [ii,jj]=ismember(f,f(1,:)); 
octave:3> ii
ii =

   1   1   1
   1   0   0
   1   0   0

octave:4> jj
jj =

   1   2   3
   3   0   0
   1   0   0

I can confirm that in 3.2.x the behavior is wrong, i.e. column vectors are
produced.

If you have both 3.2.x and dev version installed, please make sure that the
paths don't mix up, i.e. that the output of "which ismember" points really to
the 3.3.51+ version.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29863>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]