SCM

SCM Repository

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

Diff of /pkg/Matrix/src/dense.c

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

revision 3166, Sat Apr 9 21:43:46 2016 UTC revision 3167, Sat Apr 9 21:52:14 2016 UTC
# Line 258  Line 258 
258         enhanced cholmod_dense_to_sparse(), with an extra boolean         enhanced cholmod_dense_to_sparse(), with an extra boolean
259         argument for symmetry.         argument for symmetry.
260      */      */
261        // TODO: When prod(dim(.)) > INT_MAX, we *must* use but cannot --> need itype = CHOLMOD_LONG
262        // ---- CHM_SP chxs = cholmod_l_dense_to_sparse(chxd, 1, &c);
263      CHM_SP chxs = cholmod_dense_to_sparse(chxd, 1, &c);      CHM_SP chxs = cholmod_dense_to_sparse(chxd, 1, &c);
264    
265      int Rkind = (chxd->xtype == CHOLMOD_REAL) ? Real_KIND2(x) : 0;      int Rkind = (chxd->xtype == CHOLMOD_REAL) ? Real_KIND2(x) : 0;
266      /* Note: when 'x' was integer Matrix, Real_KIND(x) = -1, but *_KIND2(.) = 0 */      /* Note: when 'x' was integer Matrix, Real_KIND(x) = -1, but *_KIND2(.) = 0 */
267      R_CheckStack();      R_CheckStack();

Legend:
Removed from v.3166  
changed lines
  Added in v.3167

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