SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/src/CHOLMOD/Include/cholmod_internal.h
ViewVC logotype

Diff of /pkg/Matrix/src/CHOLMOD/Include/cholmod_internal.h

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

revision 1876, Tue Jun 5 16:53:04 2007 UTC revision 2138, Mon Mar 17 23:23:30 2008 UTC
# Line 57  Line 57 
57  #undef NDEBUG  #undef NDEBUG
58   */   */
59    
60    #ifdef MATLAB_MEX_FILE
61    #include "mex.h"
62    #endif
63    
64  #if !defined(NPRINT) || !defined(NDEBUG)  #if !defined(NPRINT) || !defined(NDEBUG)
65  #include <stdio.h>  #include <stdio.h>
66  #endif  #endif
# Line 349  Line 353 
353          UF_long *, UF_long, cholmod_common *) ;          UF_long *, UF_long, cholmod_common *) ;
354  int  cholmod_l_dump_work(int, int, UF_long, cholmod_common *) ;  int  cholmod_l_dump_work(int, int, UF_long, cholmod_common *) ;
355    
356  #define DEBUG_INIT(s)  { CHOLMOD(dump_init)(s, Common) ; }  #define DEBUG_INIT(s,Common)  { CHOLMOD(dump_init)(s, Common) ; }
357  #define ASSERT(expression) (assert (expression))  #define ASSERT(expression) (assert (expression))
358    
359  #define PRK(k,params) \  #define PRK(k,params) \
# Line 364  Line 368 
368  #define PRINT1(params) PRK (1, params)  #define PRINT1(params) PRK (1, params)
369  #define PRINT2(params) PRK (2, params)  #define PRINT2(params) PRK (2, params)
370  #define PRINT3(params) PRK (3, params)  #define PRINT3(params) PRK (3, params)
371  #define PRINTM(params) PRK (CHOLMOD(dump_malloc), params)  
372    #define PRINTM(params) \
373    { \
374        if (CHOLMOD(dump_malloc) > 0) \
375        { \
376            printf params ; \
377        } \
378    }
379    
380  #define DEBUG(statement) statement  #define DEBUG(statement) statement
381    
# Line 372  Line 383 
383    
384  /* Debugging disabled (the normal case) */  /* Debugging disabled (the normal case) */
385  #define PRK(k,params)  #define PRK(k,params)
386  #define DEBUG_INIT(s)  #define DEBUG_INIT(s,Common)
387  #define PRINT0(params)  #define PRINT0(params)
388  #define PRINT1(params)  #define PRINT1(params)
389  #define PRINT2(params)  #define PRINT2(params)

Legend:
Removed from v.1876  
changed lines
  Added in v.2138

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