diff --git a/CHOLMOD/CMakeLists.txt b/CHOLMOD/CMakeLists.txt index d11e2b8313..ddee5f1438 100644 --- a/CHOLMOD/CMakeLists.txt +++ b/CHOLMOD/CMakeLists.txt @@ -12,10 +12,10 @@ # cmake 3.22 is required to find the BLAS/LAPACK cmake_minimum_required ( VERSION 3.22 ) -set ( CHOLMOD_DATE "Oct 23, 2023" ) +set ( CHOLMOD_DATE "Oct 31, 2023" ) set ( CHOLMOD_VERSION_MAJOR 5 ) set ( CHOLMOD_VERSION_MINOR 0 ) -set ( CHOLMOD_VERSION_SUB 0 ) +set ( CHOLMOD_VERSION_SUB 1 ) message ( STATUS "Building CHOLMOD version: v" ${CHOLMOD_VERSION_MAJOR}. @@ -78,10 +78,10 @@ else ( ) find_package ( OpenMP ) endif ( ) -find_package ( SuiteSparse_config 7.3.0 +find_package ( SuiteSparse_config 7.3.1 PATHS ${CMAKE_SOURCE_DIR}/../SuiteSparse_config/build NO_DEFAULT_PATH ) if ( NOT TARGET SuiteSparse::SuiteSparseConfig ) - find_package ( SuiteSparse_config 7.3.0 REQUIRED ) + find_package ( SuiteSparse_config 7.3.1 REQUIRED ) endif ( ) find_package ( COLAMD 3.2.1 diff --git a/CHOLMOD/Config/cholmod.h.in b/CHOLMOD/Config/cholmod.h.in index f22fd79034..ba146c7b54 100644 --- a/CHOLMOD/Config/cholmod.h.in +++ b/CHOLMOD/Config/cholmod.h.in @@ -1894,17 +1894,18 @@ void *cholmod_l_realloc (size_t, size_t, void *, size_t *, cholmod_common *) ; int cholmod_realloc_multiple // returns true if successful, false otherwise ( size_t nnew, // # of items in newly reallocate memory - int nint, // 0: do not allocate I or J, 1: just I, 2: both I and J + int nint, // 0: do not allocate I_block or J_block, 1: just I_block, + // 2: both I_block and J_block int xdtype, // xtype + dtype of the matrix: // (CHOLMOD_DOUBLE, _SINGLE) + // (CHOLMOD_PATTERN, _REAL, _COMPLEX, or _ZOMPLEX) // input/output: - void **I, // integer block of memory (int32_t or int64_t) - void **J, // integer block of memory (int32_t or int64_t) - void **X, // real or complex, double or single, block - void **Z, // zomplex only: double or single block - size_t *n, // current size of I, J, X, and/or Z blocks on input, - // changed to nnew on output, if successful + void **I_block, // integer block of memory (int32_t or int64_t) + void **J_block, // integer block of memory (int32_t or int64_t) + void **X_block, // real or complex, double or single, block + void **Z_block, // zomplex only: double or single block + size_t *n, // current size of I_block, J_block, X_block, and/or Z_block + // on input, changed to nnew on output, if successful cholmod_common *Common ) ; int cholmod_l_realloc_multiple (size_t, int, int, void **, void **, void **, diff --git a/CHOLMOD/Doc/CHOLMOD_UserGuide.pdf b/CHOLMOD/Doc/CHOLMOD_UserGuide.pdf index 766e961e38..57106f9f5b 100644 Binary files a/CHOLMOD/Doc/CHOLMOD_UserGuide.pdf and b/CHOLMOD/Doc/CHOLMOD_UserGuide.pdf differ diff --git a/CHOLMOD/Doc/ChangeLog b/CHOLMOD/Doc/ChangeLog index 51996eacea..3c86574337 100644 --- a/CHOLMOD/Doc/ChangeLog +++ b/CHOLMOD/Doc/ChangeLog @@ -1,3 +1,8 @@ +Oct 31, 2023, version 5.0.1 + + * cholmod.h: remove use of "I" which conflicts with + #include . + Oct 23, 2023, version 5.0.0 * CHOLMOD v5.0.0: introduces the first part of support for single diff --git a/CHOLMOD/Doc/cholmod_version.tex b/CHOLMOD/Doc/cholmod_version.tex index 214516bbfb..595148b69f 100644 --- a/CHOLMOD/Doc/cholmod_version.tex +++ b/CHOLMOD/Doc/cholmod_version.tex @@ -1,2 +1,2 @@ % version of SuiteSparse/CHOLMOD -\date{VERSION 5.0.0, Oct 23, 2023} +\date{VERSION 5.0.1, Oct 31, 2023} diff --git a/CHOLMOD/Include/cholmod.h b/CHOLMOD/Include/cholmod.h index d397d7e778..a2a25c16c7 100644 --- a/CHOLMOD/Include/cholmod.h +++ b/CHOLMOD/Include/cholmod.h @@ -92,10 +92,10 @@ // version control //============================================================================== -#define CHOLMOD_DATE "Oct 23, 2023" +#define CHOLMOD_DATE "Oct 31, 2023" #define CHOLMOD_MAIN_VERSION 5 #define CHOLMOD_SUB_VERSION 0 -#define CHOLMOD_SUBSUB_VERSION 0 +#define CHOLMOD_SUBSUB_VERSION 1 #define CHOLMOD_VER_CODE(main,sub) ((main) * 1000 + (sub)) #define CHOLMOD_VERSION \ @@ -1894,17 +1894,18 @@ void *cholmod_l_realloc (size_t, size_t, void *, size_t *, cholmod_common *) ; int cholmod_realloc_multiple // returns true if successful, false otherwise ( size_t nnew, // # of items in newly reallocate memory - int nint, // 0: do not allocate I or J, 1: just I, 2: both I and J + int nint, // 0: do not allocate I_block or J_block, 1: just I_block, + // 2: both I_block and J_block int xdtype, // xtype + dtype of the matrix: // (CHOLMOD_DOUBLE, _SINGLE) + // (CHOLMOD_PATTERN, _REAL, _COMPLEX, or _ZOMPLEX) // input/output: - void **I, // integer block of memory (int32_t or int64_t) - void **J, // integer block of memory (int32_t or int64_t) - void **X, // real or complex, double or single, block - void **Z, // zomplex only: double or single block - size_t *n, // current size of I, J, X, and/or Z blocks on input, - // changed to nnew on output, if successful + void **I_block, // integer block of memory (int32_t or int64_t) + void **J_block, // integer block of memory (int32_t or int64_t) + void **X_block, // real or complex, double or single, block + void **Z_block, // zomplex only: double or single block + size_t *n, // current size of I_block, J_block, X_block, and/or Z_block + // on input, changed to nnew on output, if successful cholmod_common *Common ) ; int cholmod_l_realloc_multiple (size_t, int, int, void **, void **, void **, diff --git a/ChangeLog b/ChangeLog index b87bf7edb9..7f30c2b8b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Oct 31, 2023: version 7.3.1 + + * CHOLMOD 5.0.1: remove "I" from cholmod.h. + Oct 23, 2023: version 7.3.0 * CHOLMOD 5.0.0: initial support for sparse single precision matries. diff --git a/README.md b/README.md index 65fac5cdd3..680d8321f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ SuiteSparse: A Suite of Sparse matrix packages at http://suitesparse.com ----------------------------------------------------------------------------- -Oct 23, 2023, SuiteSparse VERSION 7.3.0 +Oct 31, 2023, SuiteSparse VERSION 7.3.1 SuiteSparse is a set of sparse-matrix-related packages written or co-authored by Tim Davis, available at https://github.com/DrTimothyAldenDavis/SuiteSparse . diff --git a/SuiteSparse_config/CMakeLists.txt b/SuiteSparse_config/CMakeLists.txt index 8920ac7267..7add4060d9 100644 --- a/SuiteSparse_config/CMakeLists.txt +++ b/SuiteSparse_config/CMakeLists.txt @@ -14,10 +14,10 @@ cmake_minimum_required ( VERSION 3.22 ) # version of both SuiteSparse and SuiteSparse_config -set ( SUITESPARSE_DATE "Oct 23, 2023" ) +set ( SUITESPARSE_DATE "Oct 31, 2023" ) set ( SUITESPARSE_VERSION_MAJOR 7 ) set ( SUITESPARSE_VERSION_MINOR 3 ) -set ( SUITESPARSE_VERSION_SUB 0 ) +set ( SUITESPARSE_VERSION_SUB 1 ) message ( STATUS "Building SuiteSparse_config version: v" ${SUITESPARSE_VERSION_MAJOR}. diff --git a/SuiteSparse_config/SuiteSparse_config.h b/SuiteSparse_config/SuiteSparse_config.h index 780f2bfecb..03f10a3b45 100644 --- a/SuiteSparse_config/SuiteSparse_config.h +++ b/SuiteSparse_config/SuiteSparse_config.h @@ -409,10 +409,10 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION #define SUITESPARSE_HAS_VERSION_FUNCTION -#define SUITESPARSE_DATE "Oct 23, 2023" +#define SUITESPARSE_DATE "Oct 31, 2023" #define SUITESPARSE_MAIN_VERSION 7 #define SUITESPARSE_SUB_VERSION 3 -#define SUITESPARSE_SUBSUB_VERSION 0 +#define SUITESPARSE_SUBSUB_VERSION 1 #define SUITESPARSE_VER_CODE(main,sub) ((main) * 1000 + (sub)) #define SUITESPARSE_VERSION \