[Top][All Lists]

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

[Octave-bug-tracker] [bug #53655] regression? "find(false)" was 0x0 now

From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #53655] regression? "find(false)" was 0x0 now its 0x1
Date: Sun, 15 Apr 2018 01:22:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0


                 Summary: regression? "find(false)" was 0x0 now its 0x1
                 Project: GNU Octave
            Submitted by: cbm
            Submitted on: Sun 15 Apr 2018 05:22:18 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.90
        Operating System: Any



This is surely related to https://savannah.gnu.org/bugs/?53603

With 4.2.2 and stable from a week or so ago (13fd0610480f+)

octave:17> find(false)
ans = [](0x0)
octave:18> find([false false])
ans = [](1x0)
octave:19> find([false; false])
ans = [](0x1)
octave:20> find([false false; false false])
ans = [](0x1)

But with 4.3.90 (hg id: 65f201566857+):

octave:48> find(false)
ans = [](0x1)
octave:49> find([false false])
ans = [](1x0)
octave:50> find([false; false])
ans = [](0x1)
octave:51> find([false false; false false])
ans = [](0x1)

I have not tested Matlab but because this caused a bunch of test failures in
the Symbolic pkg, I think 0x0 is the Matlab result.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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