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

[Pkg-octave-devel] Bug#706376: Bug#706376: Bug#706376: Bug#706376: Bug#706376: octave: sparse matrix n*2^16

On 15 June 2013 11:00, David Bateman <david@bateman.eu> wrote:
> Ed is right the is_empty method of the octave_base_value class should be
> specialized for sparse matrices as in the attached changeset as it has
> no need to rely on numel. Then any function that relies on isempty
> should now work for sparse matrices.

Now what should happen if numel is actually called for sparse
matrices? And how do you propose to fix linear indexing?

I'm not saying you shouldn't do it, just that it's difficult and
boring. Also, can't you push your own patches? I thought you were
still in the access list.

- Jordi G. H.

Reply to: