SCM

SCM Repository

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

Diff of /pkg/src/dgBCMatrix.c

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

revision 485, Wed Feb 2 17:20:55 2005 UTC revision 488, Wed Feb 2 19:11:51 2005 UTC
# Line 583  Line 583 
583                                  /* transpose B */                                  /* transpose B */
584              for (i = 0, nrbB = -1; i < nnz; i++) if (Bi[i] > nrbB) nrbB = Bi[i];              for (i = 0, nrbB = -1; i < nnz; i++) if (Bi[i] > nrbB) nrbB = Bi[i];
585              BTp = Calloc(nrbB, int);              BTp = Calloc(nrbB, int);
586              dgTMatrix_to_dgCMatrix(ncbB, nrbB, nnz, tmp, Bi, Bx, BTp, BTi, BTx);              triplet_to_col(ncbB, nrbB, nnz, tmp, Bi, Bx, BTp, BTi, BTx);
587                                  /* sanity check */                                  /* sanity check */
588              if (BTp[nrbB] != nnz) error("cscb_trcbsm: transpose operation failed");              if (BTp[nrbB] != nnz) error("cscb_trcbsm: transpose operation failed");
589              Free(tmp);              Free(tmp);

Legend:
Removed from v.485  
changed lines
  Added in v.488

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