bugGNU Octave - Bugs: bug #45136, make_int.cc not working properly...

 
 

bug #45136: make_int.cc not working properly (octave-3.8.2 vs octave-4.0.0-rc4

Submitted by:  dezperado <dezperado>
Submitted on:  Mon 18 May 2015 09:55:05 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 02 Jun 2015 04:10:03 PM UTC, comment #3:

Retagging release from 4.0.0-rc4 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Wed 20 May 2015 07:24:57 PM UTC, comment #2:

Thanks :-)

dezperado <dezperado>
Mon 18 May 2015 11:17:09 PM UTC, comment #1:

Thanks for your bug report. You are right, the make_int example had not been updated to changes in the octave_base_value class definition. I updated the example code on the stable branch so it will be correct with the 4.0.0 release:

http://hg.savannah.gnu.org/hgweb/octave/rev/b7ee5cefa9d6

Mike Miller <mtmiller>
Project Administrator
Mon 18 May 2015 09:55:05 PM UTC, original submission:

Dear Octave Maintainers.

I did the following test under both octave-3.8.2 and octave-4.0.0-rc0:

CXXFLAGS="-g -O0 -fopenmp -fPIC" mkoctfile -v -o make_int make_int.cc -lmpi_cxx && octave --eval 'make_int(3)'

With octave-3.8.2 I obtain
installing integer type at type-id = 54
ans =

3

While with octave-4.0.0-rc0 I obtain
installing integer type at type-id = 55
ans =

error: octave_base_value::print (): wrong type argument 'integer'

The latter is clearly wrong!

What do you think about this ?
Can you fix this please ?

dezperado <dezperado>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by dezperado (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2015 04:10:03 PM UTCjweRelease4.0.0-rc4=>4.0.0
    Mon 18 May 2015 11:17:09 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1