[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43096] GUI workspace pane shows dimension 1x1
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43096] GUI workspace pane shows dimension 1x1 for my class |
Date: |
Wed, 22 Oct 2014 17:42:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140924 Firefox/24.0 Iceweasel/24.8.1 |
Follow-up Comment #1, bug #43096 (project octave):
I think it's in libinterp/corefcn/symtab.cc:symbol_table::do_workspace_info:
dim_vector dv = val.dims ();
(http://hg.octave.org/octave/file/ce9bd5ed44d2/libinterp/corefcn/symtab.cc#l1407)
and I guess you should implement dims with something like
dim_vector dims (void) const { dim_vector dv (youdfirstdim, yourseconddim);
return dv; }
for you class (which I guess is derived from octave_base_value, right?)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43096>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43096] GUI workspace pane shows dimension 1x1 for my class,
anonymous <=