octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41799] Example sparse matrix created in oct-f


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #41799] Example sparse matrix created in oct-file with 0 index
Date: Fri, 07 Mar 2014 08:52:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0

Follow-up Comment #2, bug #41799 (project octave):

Sorry for the typos in the previous post,
it seems posts cannot be edited so I rewriting
 it to correct it.

Actually I think these lines in the example:


ColumnVector ridx (nz); 
ColumnVector cidx (nz); 
ColumnVector data (nz);


should be changed to


Array<octave_idx_type> ridx (nz); 
Array<octave_idx_type> cidx (nz); 
Array<double> data (nz);


does the example work for you with this change?



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41799>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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