[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44035] classdef is unable to to subclass doub
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #44035] classdef is unable to to subclass double |
Date: |
Sun, 18 Jan 2015 15:22:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0 |
URL:
<http://savannah.gnu.org/bugs/?44035>
Summary: classdef is unable to to subclass double
Project: GNU Octave
Submitted by: carandraug
Submitted on: Sun 18 Jan 2015 03:22:55 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
I was trying to subclass double but found it does not work in octave. The
following snippet, taken straight from Matlab documentation, fails with
"error: class not found: double"
classdef DocSimpleDouble < double
methods
function obj = DocSimpleDouble(data)
if nargin == 0
data = 0;
end
obj = address@hidden(data); % initialize the base class portion
end
end
end
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44035>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #44035] classdef is unable to to subclass double,
Carnë Draug <=