[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47287] accumarray unable to handle empty list
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #47287] accumarray unable to handle empty list of subscripts |
Date: |
Sat, 27 Feb 2016 18:23:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1 |
URL:
<http://savannah.gnu.org/bugs/?47287>
Summary: accumarray unable to handle empty list of subscripts
Project: GNU Octave
Submitted by: carandraug
Submitted on: Sat 27 Feb 2016 18:23:12 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
accumarray() does not handle an empty list of subscripts. Example:
>> accumarray (zeros (0, 1), zeros (0, 1), [0 1] , @(x) {x})
error: accumarray: subscript indices must be either positive integers less
than 2^31 or logicals
I would expect to get back an empty matrix.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47287>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47287] accumarray unable to handle empty list of subscripts,
Carnë Draug <=