changeset 5404:b91241999ba6

[project @ 2005-07-07 17:05:19 by jwe]
author jwe
date Thu, 07 Jul 2005 17:05:20 +0000
parents 7bdddf96f028
children 00d369dffec0
files liboctave/CSparse.cc liboctave/ChangeLog liboctave/dSparse.cc src/ChangeLog src/pr-output.cc
diffstat 5 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/CSparse.cc
+++ b/liboctave/CSparse.cc
@@ -4522,7 +4522,7 @@
 				solve_singularity_handler sing_handler) const
 {
   // The return values
-  void *Numeric;
+  void *Numeric = 0;
   err = 0;
 
 #ifdef HAVE_UMFPACK
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-07  John W. Eaton  <jwe@octave.org>
+
+	* dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0.
+	* CSparse.cc (SparseComplexMatrix::factorize:) Likewise.
+
 2005-06-15  John W. Eaton  <jwe@octave.org>
 
 	* oct-rl-edit.c (flush_stdout): Rename from no_redisplay.
--- a/liboctave/dSparse.cc
+++ b/liboctave/dSparse.cc
@@ -4742,7 +4742,7 @@
 			 solve_singularity_handler sing_handler) const
 {
   // The return values
-  void *Numeric;
+  void *Numeric = 0;
   err = 0;
 
 #ifdef HAVE_UMFPACK
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
 2005-07-07  John W. Eaton  <jwe@octave.org>
 
+	* pr-output.cc (pr_plus_format): Delete "static" from template decl.
+
 	* oct-stream.cc (octave_scan): Delete explicit instantiation of
 	octave_scan<double> since a specialization is provided.
 
--- a/src/pr-output.cc
+++ b/src/pr-output.cc
@@ -1349,7 +1349,7 @@
 }
 
 template <class T>
-static inline void
+inline void
 pr_plus_format (std::ostream& os, const T& val)
 {
   if (val > T (0))