[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54872] Function any() not working as intended
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #54872] Function any() not working as intended? |
Date: |
Sun, 21 Oct 2018 07:17:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36 |
Update of bug #54872 (project octave):
Severity: 3 - Normal => 2 - Minor
Priority: 5 - Normal => 3 - Low
Item Group: WTF, Matlab?!? => Incorrect Result
Status: None => Works For Me
_______________________________________________________
Follow-up Comment #2:
I cannot reproduce your problem using Octave 4.4.1 on MS Windows. Entering:
A = [1 1 0; 0 0 0; 1 1 0];
any (A)
any (A,2)
B = [1 0 0];
any (B)
Results in:
>> any (A)
ans =
1 1 0
>> any (A,2)
ans =
1
0
1
>> any (B)
ans = 1
Maybe you restart your session and make sure, that in your script you do not
accidentally overwrite "any" by another function or variable.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54872>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/