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

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

[Octave-bug-tracker] [bug #31567] Unexpected "class: invalid call from o


From: anonymous
Subject: [Octave-bug-tracker] [bug #31567] Unexpected "class: invalid call from outside class constructor" error
Date: Sat, 06 Nov 2010 15:20:45 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.11

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

                 Summary: Unexpected "class: invalid call from outside class
constructor" error
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 06 Nov 2010 03:20:44 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Stanislaw Adaszewski
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 06 Nov 2010 03:20:44 PM UTC  Name: class_call_ex.tar.gz  Size: 280B
  By: None
minimalistic example code that runs fine in MATLAB R2010a but fails with
&quot;class: invalid call from outside class constructor&quot; error message
in Octave
<http://savannah.gnu.org/bugs/download.php?file_id=21945>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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