[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-d
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem? |
Date: |
Fri, 06 Feb 2015 20:28:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #6, bug #44193 (project octave):
OK, I understand it now.
Yeah, I tried searching too and I see the "elements += val.capacity ();" line
in variables.cc. And searching through octave_value indicates that capacity()
is basically numel() in the base class and sometimes is nelem().
But I'm having trouble grepping for "class" definition because, well, "class"
is used a thousand times in the code. I think "class" is something new. Is
it this routine:
octave_idx_type
octave_class::numel (const octave_value_list& idx)
{
in libinterp/octave-value/ov-class.cc?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44193>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/05
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/05
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Dan Sebald, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Mike Miller, 2015/02/06
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?,
Dan Sebald <=
- [Octave-bug-tracker] [bug #44193] whos "elements" count wrong for user-defined class, capacity problem?, Colin Macdonald, 2015/02/06