bring the KLU_malloc() in right order, ticket #717
This commit is contained in:
parent
a6430cfdb9
commit
96a6d8d58f
|
|
@ -102,7 +102,7 @@ KLU_symbolic *KLU_alloc_symbolic
|
|||
/* allocate the Symbolic object */
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Symbolic = KLU_malloc (sizeof (KLU_symbolic), 1, Common) ;
|
||||
Symbolic = KLU_malloc (1, sizeof (KLU_symbolic), Common) ;
|
||||
if (Common->status < KLU_OK)
|
||||
{
|
||||
/* out of memory */
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ KLU_numeric *KLU_factor /* returns NULL if error, or a valid
|
|||
n1 = ((size_t) n) + 1 ;
|
||||
nzoff1 = ((size_t) nzoff) + 1 ;
|
||||
|
||||
Numeric = KLU_malloc (sizeof (KLU_numeric), 1, Common) ;
|
||||
Numeric = KLU_malloc (1, sizeof (KLU_numeric), Common) ;
|
||||
if (Common->status < KLU_OK)
|
||||
{
|
||||
/* out of memory */
|
||||
|
|
|
|||
Loading…
Reference in New Issue