2 /* { dg-do compile { target ia32 } } */
3 /* { dg-options "-O2 -fPIC -mfpmath=sse -msse2" } */
5 typedef unsigned int size_t;
7 extern double fabs (double __x
) __attribute__ ((__nothrow__
, __leaf__
))
8 __attribute__ ((__const__
));
10 typedef struct cholmod_sparse_struct
16 int cholmod_l_reallocate_sparse (size_t, cholmod_sparse
*, void *);
19 cholmod_l_drop (double tol
, cholmod_sparse
* A
)
23 long long *Ap
, *Ai
, *Anz
;
24 long long packed
, i
, j
, nrow
, ncol
, p
, pend
, nz
, values
;
28 for (j
= 0; j
< ncol
; j
++)
33 if (i
<= j
&& (fabs (aij
) > tol
|| ((aij
) != (aij
))))
37 cholmod_l_reallocate_sparse (nz
, A
, 0);