bugGNU Octave - Bugs: bug #65633, classdef throws error when...

 
 

bug #65633: classdef throws error when displaying property with logical array

Submitter:  Nicholas Jankowski <nrjank>
Submitted:  Tue 23 Apr 2024 09:03:55 PM UTC
   
 
Category:  Classdef Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 9.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Apr 2024 06:01:09 AM UTC, comment #2: 

Yeah. That looks like exactly the same issue.

Closing as duplicate.

Markus Mützel <mmuetzel>
Group administrator
Wed 24 Apr 2024 04:57:43 AM UTC, comment #1: 

Looks like a duplicate of bug #62432

A.R. Burgers <arb>
Tue 23 Apr 2024 09:03:55 PM UTC, original submission:  

using the following test class:


classdef myclass
  properties
    A = [true false true];
  endproperties
endclassdef


the following display error occurs after creation:


abc = myclass()
abc =

  myclass object with properties:

      A: error: octave_base_value::bool_value(): wrong type argument 'bool matrix'


the object is properly created, so the error appears to only be related to the property display.


def = myclass();

def
def =

          myclass object with properties:

              A: error: octave_base_value::bool_value(): wrong type argument 'bool matrix'

def.A
ans =

              1  0  1


Nicholas Jankowski <nrjank>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by arb (Posted a comment)
  • -email is unavailable- added by nrjank (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-04-24 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #62432

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code