[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53603] 'find' incompatible with ML
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53603] 'find' incompatible with ML |
Date: |
Tue, 10 Apr 2018 11:51:01 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #2, bug #53603 (project octave):
Breaking this in to steps to try and isolate the issue, it is clearly find
which is the problem. Note that indexing does return a 3-D array.
Octave-4.2.1
>> x = ones (2,2,2);
>> y = x(1,2,:)
y =
ans(:,:,1) = 1
ans(:,:,2) = 1
>> find (y > 0)
ans =
1
2
>>
Octave-4.3.90
octave:2> x = ones (2,2,2);
octave:3> y = x(1,2,:)
y =
ans(:,:,1) = 1
ans(:,:,2) = 1
octave:4> find (y > 0)
ans =
ans(:,:,1) = 1
ans(:,:,2) = 2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53603>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Muhali, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Mike Miller, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML,
Rik <=
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Rik, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Mike Miller, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Rik, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, John W. Eaton, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Rik, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, John W. Eaton, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Rik, 2018/04/10
- [Octave-bug-tracker] [bug #53603] 'find' incompatible with ML, Rik, 2018/04/10