bugGNU Octave - Bugs: bug #34637, display:not defined for class...

 
 

bug #34637: display:not defined for class "double"

Submitted by:  Loris <loris>
Submitted on:  Mon 24 Oct 2011 08:47:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.2Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Nov 2011 12:45:34 AM UTC, comment #3:

I committed the patch. It will be available in the next 3.6.0 release of Octave scheduled for December 2011.

Rik <rik5>
Project Administrator
Thu 27 Oct 2011 07:07:59 PM UTC, comment #2:

Hello Rik,

I tried your patch and it works properly (tried with text, double and array, I suppose it works for every class managed by disp() ).

I don't know how to "review and push".

Thanks, L.

Loris <loris>
Thu 27 Oct 2011 05:15:04 PM UTC, comment #1:

Confirmed on the development branch as well.

JWE, I have a trivial changeset to extend display to include the builtin classes. I haven't done anything with object oriented programming in Octave so I don't know if it is the right fix. Can you review it and push it if it okay. It's attached to this bug report.

(file #24212)

Rik <rik5>
Project Administrator
Mon 24 Oct 2011 08:47:50 PM UTC, original submission:

Hello,

I found that octave display function cannot show the most of the data type.
As example:

/octave:13> display 'pluto';
error: display: not defined for class "char"
error: called from:
error:
C:\Octave\Octave3.4.2_gcc4.5.2\share\octave\3.4.2\m\general\display.m at
line 37, column 5
octave:13> display (10)
error: display: not defined for class "double"
error: called from:
error:
C:\Octave\Octave3.4.2_gcc4.5.2\share\octave\3.4.2\m\general\display.m at
line 37, column 5
/

the same in matlab behave "correctly".
/>> display 'pluto'
pluto
>> display (10)

ans =

10/

It happens with GNU Octave Version 3.4.2, Octave3.4.2_gcc4.5.2 , running on intel core 2duo t9600@2.8G, 4G ram, win xp pro, sp3, ver 2002, 32 bit (I suppose).

Thanks, Loris.

Loris <loris>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #24212:  display.cset added by rik5 (1023B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by rik5
  • -unavailable- added by loris (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Nov 2011 12:45:34 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 27 Oct 2011 05:15:04 PM UTCrik5Attached File-=>Added display.cset, #24212
      Item GroupIncorrect Result=>Matlab Compatibility
      StatusNone=>Confirmed
      Carbon-Copy-=>Added jwe

    Back to the top


    Powered by Savane 3.1-cleanup1