diff liboctave/SparseQR.cc @ 11498:367bfee35ba0

data member initialization fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 02:37:45 -0500
parents bdf5d85cfc5e
children f3d0b69c4628
line wrap: on
line diff
--- a/liboctave/SparseQR.cc
+++ b/liboctave/SparseQR.cc
@@ -30,6 +30,7 @@
 #include "oct-locbuf.h"
 
 SparseQR::SparseQR_rep::SparseQR_rep (const SparseMatrix& a, int order)
+  : count (1), nrows (0), N (0), S (0)
 {
 #ifdef HAVE_CXSPARSE
   CXSPARSE_DNAME () A;