Mercurial > hg > octave-lyh
diff liboctave/sparse-base-lu.h @ 11505:9a308e96194e
more data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 03:57:11 -0500 |
parents | cbc402e64d83 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/sparse-base-lu.h +++ b/liboctave/sparse-base-lu.h @@ -34,10 +34,13 @@ { public: - sparse_base_lu (void) { } + sparse_base_lu (void) + : Lfact (), Ufact (), Rfact (), cond (0), P (), Q () { } sparse_base_lu (const sparse_base_lu& a) - : Lfact (a.Lfact), Ufact (a.Ufact), cond (a.cond), P (a.P), Q (a.Q) { } + : Lfact (a.Lfact), Ufact (a.Ufact), Rfact (), cond (a.cond), + P (a.P), Q (a.Q) + { } sparse_base_lu& operator = (const sparse_base_lu& a) { @@ -52,7 +55,7 @@ return *this; } - ~sparse_base_lu (void) { } + virtual ~sparse_base_lu (void) { } lu_type L (void) const { return Lfact; }