[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40294] Logical indexing into sparse matrix ha
From: |
David Spies |
Subject: |
[Octave-bug-tracker] [bug #40294] Logical indexing into sparse matrix hangs |
Date: |
Thu, 17 Oct 2013 19:07:54 +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/?40294>
Summary: Logical indexing into sparse matrix hangs
Project: GNU Octave
Submitted by: dspyz
Submitted on: Thu 17 Oct 2013 19:07:53 GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Performance
Status: None
Assigned to: None
Originator Name: dspies
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
After:
m = sparse(100000,100000);
v = logical(sprand(100000,1,0.3));
The operation:
m(v,:) = 0;
hangs (the same happens when 0 is replaced with a sparse matrix of the
appropriate size).
However
m -= diag(v) * m
works just fine
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40294>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40294] Logical indexing into sparse matrix hangs,
David Spies <=