octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MSVC compiler support [patch 18]: recursion stack overflow


From: Michael Goffioul
Subject: MSVC compiler support [patch 18]: recursion stack overflow
Date: Tue, 17 Oct 2006 21:52:18 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

These lines are reported by MSVC as producing infinite recursion.

Index: liboctave/CMatrix.cc
===================================================================
RCS file: /cvs/octave/liboctave/CMatrix.cc,v
retrieving revision 1.120
diff -p -c -r1.120 CMatrix.cc
*** liboctave/CMatrix.cc        12 Sep 2006 02:15:47 -0000      1.120
--- liboctave/CMatrix.cc        17 Oct 2006 11:07:41 -0000
*************** ComplexMatrix::solve (const ComplexMatri
*** 2170,2176 ****
                      solve_singularity_handler sing_handler) const
  {
    MatrixType mattype (*this);
!   return solve (b, info, rcond, sing_handler);
  }
  
  ComplexColumnVector
--- 2170,2176 ----
                      solve_singularity_handler sing_handler) const
  {
    MatrixType mattype (*this);
!   return solve (mattype, b, info, rcond, sing_handler);
  }
  
  ComplexColumnVector
Index: liboctave/CSparse.cc
===================================================================
RCS file: /cvs/octave/liboctave/CSparse.cc,v
retrieving revision 1.29
diff -p -c -r1.29 CSparse.cc
*** liboctave/CSparse.cc        16 Jul 2006 07:48:19 -0000      1.29
--- liboctave/CSparse.cc        17 Oct 2006 11:07:41 -0000
*************** SparseComplexMatrix&
*** 505,511 ****
  SparseComplexMatrix::insert (const SparseMatrix& a, octave_idx_type r, 
octave_idx_type c)
  {
    SparseComplexMatrix tmp (a);
!   return insert (a, r, c);
  }
  
  SparseComplexMatrix&
--- 505,511 ----
  SparseComplexMatrix::insert (const SparseMatrix& a, octave_idx_type r, 
octave_idx_type c)
  {
    SparseComplexMatrix tmp (a);
!   return insert (tmp /*a*/, r, c);
  }
  
  SparseComplexMatrix&

reply via email to

[Prev in Thread] Current Thread [Next in Thread]