# HG changeset patch # User dbateman # Date 1174774694 0 # Node ID 7e90124eddba7ba7bbd5c388a8244dea9a437d33 # Parent fdcb715e381ced574c61b4cb0c4dff508555f21d [project @ 2007-03-24 22:18:14 by dbateman] diff -r fdcb715e381c -r 7e90124eddba liboctave/ChangeLog --- a/liboctave/ChangeLog Sat Mar 24 17:54:23 2007 +0000 +++ b/liboctave/ChangeLog Sat Mar 24 22:18:14 2007 +0000 @@ -1,3 +1,8 @@ +2007-03-24 Luis Ortiz + + * MatrixType.cc (MatrixType::MatrixType(void)): Initialize + sp_bandden to zero for performance reasons as its not used. + 2007-03-23 David Bateman * oct-rand.cc (octave_rand::seed): Seed differently for big and diff -r fdcb715e381c -r 7e90124eddba liboctave/MatrixType.cc --- a/liboctave/MatrixType.cc Sat Mar 24 17:54:23 2007 +0000 +++ b/liboctave/MatrixType.cc Sat Mar 24 22:18:14 2007 +0000 @@ -36,10 +36,8 @@ // FIXME There is a large code duplication here MatrixType::MatrixType (void) - : typ (MatrixType::Unknown), - sp_bandden (octave_sparse_params::get_key ("bandden")), - bandden (0), upper_band (0), lower_band (0), dense (false), - full (false), nperm (0), perm (0) { } + : typ (MatrixType::Unknown), sp_bandden (0), bandden (0), upper_band (0), + lower_band (0), dense (false), full (false), nperm (0), perm (0) { } MatrixType::MatrixType (const MatrixType &a) : typ (a.typ), sp_bandden (a.sp_bandden), bandden (a.bandden),