diff liboctave/ChangeLog @ 11571:0e414f837c58

Fix indexing error in the construction of sparse matrices
author David Bateman <dbateman@free.fr>
date Thu, 20 Jan 2011 02:46:51 +0100
parents 57632dea2446
children a83bad07f7e3
line wrap: on
line diff
--- a/liboctave/ChangeLog	Wed Jan 19 17:55:56 2011 -0500
+++ b/liboctave/ChangeLog	Thu Jan 20 02:46:51 2011 +0100
@@ -1,3 +1,13 @@
+2011-01-20  David Bateman  <dbateman@free.fr>
+
+	* Sparce.cc (template <class T> Sparse<T>::Sparse (const Array<T>&,
+	const idx_vector&, const idx_vector&, octave_idx_type,
+	octave_idx_type, bool, octave_idx_type): Fix off by one error in the
+	construction of sparse column vectors. Fix indexing issue in
+	construction of sparse row vectors.
+	* boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::any (int) const):
+	Fully initialize cidx for any called on the first dimension.
+
 2011-01-19  John W. Eaton  <jwe@octave.org>
 
 	* Array.h (explicit Array (octave_idx_type, const T&)):