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

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

[Octave-bug-tracker] [bug #62378] Unexpected Return for findobj() with P


From: Glite
Subject: [Octave-bug-tracker] [bug #62378] Unexpected Return for findobj() with Param "-depth"
Date: Thu, 28 Apr 2022 08:24:13 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62378>

                 Summary: Unexpected Return for findobj() with Param "-depth"
                 Project: GNU Octave
            Submitted by: linuxbckp
            Submitted on: Thu 28 Apr 2022 12:24:11 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When using findobj() with param "-depth", it may incorrectly return a mat, not
throw error.
Here is my code:
>> findobj([0 1 10])
error: get: invalid handle (= 10)
error: called from
    findobj at line 228 column 16
>> findobj([0 1 10], "-depth", 0)
ans =

    0
    1
   10




    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 28 Apr 2022 12:24:11 PM UTC  Name: ksnip_20220428-201655.png  Size:
20KiB   By: linuxbckp

<http://savannah.gnu.org/bugs/download.php?file_id=53155>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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