octave-maintainers
[Top][All Lists]
Advanced

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

SparseMatrix constructor


From: c.
Subject: SparseMatrix constructor
Date: Fri, 18 Oct 2013 18:22:22 +0200

Hi,

I have some code[1] that uses the constructor

          SparseMatrix::SparseMatrix (Array<double> V, Array<octave_idx_type> 
I, 
                                      Array<octave_idx_type> J, octave_idx_type 
nr, 
                                      octave_idx_type nc, bool add);

where I and J are 0-based arrays of indices, which works in Octave 3.6.x
but fails with development sources with the error:

  error: op_u_v: subscript indices must be either positive integers less than 
2^31 or logicals

have there been changes in the SparseMatrix constructors that can explain this 
change?
Can anyone point me to the changeset that caused the different behaviour?

c.

[1] 
http://sourceforge.net/p/geopdes/code/HEAD/tree/trunk/geopdes_base/src/op_u_v.cc
[2] 
http://sourceforge.net/p/geopdes/code/HEAD/tree/trunk/geopdes_base/src/op_u_v.cc#l131

reply via email to

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