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

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

[Octave-bug-tracker] [bug #49753] display.m fails to display certain str


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #49753] display.m fails to display certain strings and structures
Date: Fri, 2 Dec 2016 15:25:05 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?49753>

                 Summary: display.m fails to display certain strings and
structures
                 Project: GNU Octave
            Submitted by: jbect
            Submitted on: Fri 02 Dec 2016 03:25:04 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

display () fails to display strings, structures, cells, etc as soon as they
contain the substring '<class '. For instance:


>> clear;  x.a = '<class '
x =

  scalar structure containing the fields:

    a = <class

>> display (x)
error: display: not defined for class "struct"
error: called from
    display at line 49 column 5


The problem occurs, for instance, when calling display () on a structure where
at least on field contains an object:


>> cd test/classes
>> clear;  x.a = SizeTester ([1 2])
x =

  scalar structure containing the fields:

    a = <class SizeTester>

>> display (x)
error: display: not defined for class "struct"
error: called from
    display at line 49 column 5






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49753>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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