bugGNU Octave - Bugs: bug #63025, Variable editor does not show...

 
 

bug #63025: Variable editor does not show output of find

Submitter:  Beppo <beppo_dd>
Submitted:  Wed 07 Sep 2022 01:21:49 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 08 Sep 2022 05:35:47 PM UTC, comment #5: 

@Markus:
Now that you mention, this has been reported much earlier on as well, see bug #56690, there's even a proposed patch/fix there. ISTR I have even tried it but for some reason I haven't got it in my local builds, could be because it induced other issues.

I'll close bug #62435 as well, as a duplicate of bug #56690.

Philip Nienhuis <philipnienhuis>
Group Member
Thu 08 Sep 2022 05:44:42 AM UTC, comment #4: 

Sounds like a duplicate of bug #62435.

Closing as such. It can be reopened if it is something different.

Markus Mützel <mmuetzel>
Group administrator
Wed 07 Sep 2022 09:36:17 PM UTC, comment #3: 

This is an old bug, I could reproduce it in 5.2.0.
JWE did quite a bit of the early variable editor stuff, maybe he should be cc'd as well.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 07 Sep 2022 05:22:27 PM UTC, comment #2: 

Can reproduce on Linux with Octave 8 so changing OS to any and status to confirmed. Restricted to the GUI variable editor alone. The code is


A = [1 2 3 4];
X = A(A > 2);
Y = find (A > 2);

and see the listing in the variable editor. X shows the values [3,4] and Y just has "--".

Adding ttl to cc.

Arun Giridhar <arungiridhar>
Group Member
Wed 07 Sep 2022 01:29:19 PM UTC, comment #1: 

Sorry, I posted the wrong description. The right description is:

When creating an array X with


A = [1,2,3,4];
X = A(A > 2)


It is shown right in the GUI variable editor:


3 | 4


But, when you use the function find to create a an array Y


Y = find(A > 2)


I does not show up correctly in the GUI variable editor:


#VAL | #VAL





Thanks for taking the time to report this bug.

This bug report isn't very useful because it doesn't describe the
bug well. If you have time and can still reproduce the bug,
please read http://www.octave.org/bugs.html and add a more useful
description to this bug.

Beppo <beppo_dd>
Wed 07 Sep 2022 01:21:49 PM UTC, original submission:  

The function +find+ works as express in the command line:


A = [1,2,3,4];
find(A > 2)


gives the expected result:

ans =

   3   4


But, we using +find+ in the combination with an assignment:

find(A > 2)


Beppo <beppo_dd>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by arungiridhar (Posted a comment)
  • -email is unavailable- added by arungiridhar
  • -email is unavailable- added by beppo_dd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-08 mmuetzel StatusConfirmed Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #62435
    2022-09-07 philipnienhuis Carbon-Copy- Added jwe
    2022-09-07 arungiridhar StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
        Summaryfind and assignment: variable editor shows only #VAL Variable editor does not show output of find
        Carbon-Copy- Added ttl

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code