[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40295] sparse max/min gives wrong dimensions
From: |
David Spies |
Subject: |
[Octave-bug-tracker] [bug #40295] sparse max/min gives wrong dimensions when input has a 0-dimension |
Date: |
Thu, 17 Oct 2013 22:31:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?40295>
Summary: sparse max/min gives wrong dimensions when input has
a 0-dimension
Project: GNU Octave
Submitted by: dspyz
Submitted on: Thu 17 Oct 2013 22:31:07 GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: dspies
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
a = sparse(8,0);
size(max(a,[],1))
ans =
0 0
Should be
1 0
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40295>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40295] sparse max/min gives wrong dimensions when input has a 0-dimension,
David Spies <=