[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44665] error in concatenation of classdef obj
From: |
jsh |
Subject: |
[Octave-bug-tracker] [bug #44665] error in concatenation of classdef objects |
Date: |
Mon, 30 Mar 2015 06:40:36 +0000 |
User-agent: |
Opera/9.80 (X11; Linux x86_64; Edition Linux Mint) Presto/2.12.388 Version/12.16 |
URL:
<http://savannah.gnu.org/bugs/?44665>
Summary: error in concatenation of classdef objects
Project: GNU Octave
Submitted by: jsh
Submitted on: Mon 30 Mar 2015 06:40:35 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0-rc2
Operating System: Any
_______________________________________________________
Details:
Concatenation of classdef objects fail with the error messages:
error: invalid conversion of multi-dimensional struct to scalar struct
error: octave_base_value::parent_class_name_list(): wrong type argument
'object'
It seems at least one part of the problem are the '__parent_classes__' and
'parent_class_names' functions which do not seem to support classdef objects.
To test, create a class, for example:
classdef foo
properties
bar = 1;
end
end
and try to concatenate some instances:
a = foo();
[ a a ]
__parent_classes__(a)
If this isn't supported yet maybe a better error message should be printed
instead.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44665>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #44665] error in concatenation of classdef objects,
jsh <=