SCM

SCM Repository

[matrix] Diff of /pkg/src/Csparse.c
ViewVC logotype

Diff of /pkg/src/Csparse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2490, Sat Oct 24 20:40:09 2009 UTC revision 2491, Sat Oct 24 21:04:46 2009 UTC
# Line 367  Line 367 
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

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge