vendor/scs/linsys/external/amd/SuiteSparse_config.c in scs-0.3.2 vs vendor/scs/linsys/external/amd/SuiteSparse_config.c in scs-0.4.0
- old
+ new
@@ -48,11 +48,13 @@
SuiteSparse will not use printf.
*/
struct SuiteSparse_config_struct SuiteSparse_config =
{
- scs_malloc, scs_calloc, scs_realloc, scs_free, _scs_printf,
+ scs_malloc, scs_calloc, scs_realloc, scs_free,
+ /* Disable printing */
+ SCS_NULL,
SuiteSparse_hypot,
SuiteSparse_divcomplex
} ;
@@ -77,10 +79,10 @@
{
SuiteSparse_config.malloc_func = scs_malloc ;
SuiteSparse_config.calloc_func = scs_calloc ;
SuiteSparse_config.realloc_func = scs_realloc ;
SuiteSparse_config.free_func = scs_free ;
- SuiteSparse_config.printf_func = _scs_printf ;
+ SuiteSparse_config.printf_func = SCS_NULL;
/* math functions */
SuiteSparse_config.hypot_func = SuiteSparse_hypot ;
SuiteSparse_config.divcomplex_func = SuiteSparse_divcomplex ;
}