SCM Repository
[matrix] Diff of /pkg/src/Csparse.c
Diff of /pkg/src/Csparse.c
Parent Directory
|
Revision Log
|
Patch
367 |
{ |
{ |
368 |
int trip = asLogical(triplet), |
int trip = asLogical(triplet), |
369 |
tr = asLogical(trans); /* gets reversed because _aat is tcrossprod */ |
tr = asLogical(trans); /* gets reversed because _aat is tcrossprod */ |
370 |
|
#ifdef AS_CHM_DIAGU2N_FIXED_FINALLY |
371 |
CHM_TR cht = trip ? AS_CHM_TR(x) : (CHM_TR) NULL; |
CHM_TR cht = trip ? AS_CHM_TR(x) : (CHM_TR) NULL; |
372 |
/* workaround originally: |
#else /* workaround needed:*/ |
373 |
CHM_TR cht = trip ? AS_CHM_TR__(Tsparse_diagU2N(x)) : (CHM_TR) NULL; |
CHM_TR cht = trip ? AS_CHM_TR__(Tsparse_diagU2N(x)) : (CHM_TR) NULL; |
374 |
*/ |
#endif |
|
|
|
375 |
CHM_SP chcp, chxt, |
CHM_SP chcp, chxt, |
376 |
chx = (trip ? |
chx = (trip ? |
377 |
cholmod_l_triplet_to_sparse(cht, cht->nnz, &c) : |
cholmod_l_triplet_to_sparse(cht, cht->nnz, &c) : |
|
Legend:
Removed from v.2490 |
|
changed lines |
|
Added in v.2491 |
|
|