[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48738] java array length
From: |
Ernst Reissner |
Subject: |
[Octave-bug-tracker] [bug #48738] java array length |
Date: |
Fri, 19 Aug 2016 09:38:01 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
Follow-up Comment #2, bug #48738 (project octave):
Actually, I did not find one.
Nevertheless, I think .length is convenient.
It is not a bug but maybe a wish.
commenting your suggestions:
- size is not the same, it displays two dimensions
- for java arrays, both length(.) and numel(.) are the same
but this is true only because java arrays are seen as 1 dimensional in
octave and nested arrays are not visible.
I attached a patch, you could apply because it improves the implementation,
documents further weaknesses
and provides in comments 2 lines fix for 'bug' 48738
(file #38272)
_______________________________________________________
Additional Item Attachment:
File name: patchBug48738.patch Size:9 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48738>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/