octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53140] Solution of a system of linear equatio


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #53140] Solution of a system of linear equations takes forever and hurts OS performance.
Date: Thu, 15 Feb 2018 03:53:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #6, bug #53140 (project octave):

If my previous consideration is valid, this is the difference between
SparseMatrix::fsolve in stable and default branch


2c2
< SparseMatrix::fsolve (MatrixType& mattype, const SparseMatrix& b,
---
> SparseMatrix::fsolve (MatrixType &mattype, const SparseMatrix& b,
39c39
<               SUITESPARSE_ASSIGN_FPTR (printf_func, cm->print_function,
nullptr);
---
>               SUITESPARSE_ASSIGN_FPTR (printf_func, cm->print_function, 0);
64c64
<           A->nz = nullptr;
---
>           A->nz = 0;
75c75
<           if (A->x == nullptr)
---
>           if (A->x == 0)
87c87
<           B->nz = nullptr;
---
>           B->nz = 0;
98c98
<           if (B->x == nullptr)
---
>           if (B->x == 0)
158,159c158,159
<               static char blank_name[] = " ";
<               CHOLMOD_NAME(print_common) (blank_name, cm);
---
>               static char tmp[] = " ";
>               CHOLMOD_NAME(print_common) (tmp, cm);
207,210c207,208
<                   status = UMFPACK_DNAME (solve) (UMFPACK_A,
<                                                  
octave::to_suitesparse_intptr (Ap),
<                                                  
octave::to_suitesparse_intptr (Ai),
<                                                   Ax, Xx, Bx, Numeric,
---
>                   status = UMFPACK_DNAME (solve) (UMFPACK_A, Ap,
>                                                   Ai, Ax, Xx, Bx, Numeric,


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53140>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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