# HG changeset patch # User jwe # Date 1161140214 0 # Node ID ced23ae2b5ccc08956e0ad60331722ea1970de83 # Parent 8fd77759707c6c7446fb2df2b128d4196c94b4aa [project @ 2006-10-18 02:56:22 by jwe] diff -r 8fd77759707c -r ced23ae2b5cc liboctave/CMatrix.cc --- a/liboctave/CMatrix.cc Wed Oct 18 02:21:22 2006 +0000 +++ b/liboctave/CMatrix.cc Wed Oct 18 02:56:54 2006 +0000 @@ -2170,7 +2170,7 @@ solve_singularity_handler sing_handler) const { MatrixType mattype (*this); - return solve (b, info, rcond, sing_handler); + return solve (mattype, b, info, rcond, sing_handler); } ComplexColumnVector diff -r 8fd77759707c -r ced23ae2b5cc liboctave/CSparse.cc --- a/liboctave/CSparse.cc Wed Oct 18 02:21:22 2006 +0000 +++ b/liboctave/CSparse.cc Wed Oct 18 02:56:54 2006 +0000 @@ -505,7 +505,7 @@ SparseComplexMatrix::insert (const SparseMatrix& a, octave_idx_type r, octave_idx_type c) { SparseComplexMatrix tmp (a); - return insert (a, r, c); + return insert (tmp /*a*/, r, c); } SparseComplexMatrix& diff -r 8fd77759707c -r ced23ae2b5cc liboctave/oct-syscalls.cc --- a/liboctave/oct-syscalls.cc Wed Oct 18 02:21:22 2006 +0000 +++ b/liboctave/oct-syscalls.cc Wed Oct 18 02:56:54 2006 +0000 @@ -309,10 +309,11 @@ octave_syscalls::waitpid (pid_t pid, int *status, int options, std::string& msg) { + pid_t retval = -1; msg = std::string (); #if defined (HAVE_WAITPID) - pid_t retval = ::octave_waitpid (pid, status, options); + retval = ::octave_waitpid (pid, status, options); if (retval < 0) {