[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug with numel() and sparsity?

From: fork
Subject: Bug with numel() and sparsity?
Date: Mon, 3 Mar 2014 18:29:42 +0000 (UTC)
User-agent: Loom/3.14 (

I am currently playing around with sedumi (thanks Michael!), and I ran into
this error with very big sparse matrices:

ans = 3.8.1-rc3
debug> size(x)
ans =

   400002   200020

debug> nnz(x)
ans =  600000
debug> numel(x)
error: out of memory or dimension too large for Octave's index type

Is this a bug in numel()?  Or should numel() never be used with large sparse
matrices (and thus a bug in sedumi)?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]