bugGNU Octave - Bugs: bug #31567, Unexpected "class: invalid...

 
 

bug #31567: Unexpected "class: invalid call from outside class constructor" error

Submitted by:  None
Submitted on:  Sat 06 Nov 2010 03:20:44 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Stanislaw AdaszewskiOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.2.4
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 Nov 2010 06:29:09 AM UTC, comment #1:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/883b9308353c

This seems to fix the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Sat 06 Nov 2010 03:20:44 PM UTC, original submission:

SPM8's "nifti" class running in Matlab R2010a seems to make use of class() function inside a class member method and it works fine in MATLAB, while in Octave it gives the dreaded "class: invalid call from outside class constructor" error. Is it safe to relax the constructor constraint on class() to member-method constraint?

I'm attaching a minimalistic example code that runs fine in MATLAB R2010a but fails with the error message above in Octave.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21945:  class_call_ex.tar.gz added by None (280B - application/x-gzip - minimalistic example code that runs fine in MATLAB R2010a but fails with "class: invalid call from outside class constructor" error message in Octave)

 

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 None (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
    Wed 10 Nov 2010 06:29:09 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 06 Nov 2010 03:20:44 PM UTCNoneAttached File-=>Added class_call_ex.tar.gz, #21945

    Back to the top


    Powered by Savane 3.1-cleanup1