[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse s
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R) |
Date: |
Fri, 10 Nov 2017 12:11:09 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 |
Follow-up Comment #5, bug #52365 (project octave):
The mex interface of suitesparse works in matlab for the given example. So, it
seems to me that the problem is in the call. Line 88 of cholmod_spsolve
(responsable of the error message) is
RETURN_IF_XTYPE_INVALID (B, CHOLMOD_REAL, CHOLMOD_ZOMPLEX, NULL) ;
and
#define RETURN_IF_XTYPE_INVALID(A,xtype1,xtype2,result) \
{ \
if ((A)->xtype < (xtype1) || (A)->xtype > (xtype2) || \
((A)->xtype != CHOLMOD_PATTERN && ((A)->x) == NULL) || \
((A)->xtype == CHOLMOD_ZOMPLEX && ((A)->z) == NULL)) \
{ \
if (Common->status != CHOLMOD_OUT_OF_MEMORY) \
{ \
ERROR (CHOLMOD_INVALID, "invalid xtype") ; \
} \
return (result) ; \
} \
}
What is B->x = b.data () when b is a sparse zeros matrix?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52365>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), anonymous, 2017/11/08
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Rik, 2017/11/10
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Rik, 2017/11/10
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Marco Caliari, 2017/11/10
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Dmitri A. Sergatskov, 2017/11/10
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R),
Marco Caliari <=
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Rik, 2017/11/13
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Rik, 2017/11/13
- [Octave-bug-tracker] [bug #52365] Octave crashes when solving a sparse system of linear equations (U = K \ R), Rik, 2017/11/15