Skip to content

Commit

Permalink
vendor: Update vendored sources to igraph/igraph@9f06e4c
Browse files Browse the repository at this point in the history
chore: punctuate som error messages
  • Loading branch information
krlmlr committed Jan 6, 2025
1 parent 99ced30 commit 2826ebf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/vendor/cigraph/src/linalg/blas.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ igraph_error_t igraph_blas_dgemv(igraph_bool_t transpose, igraph_real_t alpha,
int inc = 1;

if (igraph_matrix_nrow(a) > INT_MAX || igraph_matrix_ncol(a) > INT_MAX) {
IGRAPH_ERROR("Matrix too large for BLAS", IGRAPH_EOVERFLOW);
IGRAPH_ERROR("Matrix too large for BLAS.", IGRAPH_EOVERFLOW);
}

m = (int) igraph_matrix_nrow(a);
Expand Down Expand Up @@ -193,7 +193,7 @@ igraph_error_t igraph_blas_dgemv_array(igraph_bool_t transpose, igraph_real_t al
int inc = 1;

if (igraph_matrix_nrow(a) > INT_MAX || igraph_matrix_ncol(a) > INT_MAX) {
IGRAPH_ERROR("Matrix too large for BLAS", IGRAPH_EOVERFLOW);
IGRAPH_ERROR("Matrix too large for BLAS.", IGRAPH_EOVERFLOW);
}

m = (int) igraph_matrix_nrow(a);
Expand Down Expand Up @@ -221,7 +221,7 @@ igraph_error_t igraph_blas_dgemv_array(igraph_bool_t transpose, igraph_real_t al
*/
igraph_real_t igraph_blas_dnrm2(const igraph_vector_t *v) {
if (igraph_vector_size(v) > INT_MAX) {
IGRAPH_ERROR("Vector too large for BLAS", IGRAPH_EOVERFLOW);
IGRAPH_ERROR("Vector too large for BLAS.", IGRAPH_EOVERFLOW);
}

int n = (int) igraph_vector_size(v);
Expand All @@ -245,7 +245,7 @@ igraph_error_t igraph_blas_ddot(const igraph_vector_t *v1, const igraph_vector_t
igraph_real_t *res) {

if (igraph_vector_size(v1) > INT_MAX) {
IGRAPH_ERROR("Vector too large for BLAS", IGRAPH_EOVERFLOW);
IGRAPH_ERROR("Vector too large for BLAS.", IGRAPH_EOVERFLOW);
}

int n = (int) igraph_vector_size(v1);
Expand Down
4 changes: 2 additions & 2 deletions src/vendor/igraph_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

__BEGIN_DECLS

#define IGRAPH_VERSION "0.10.15-22-gbefc831ff"
#define IGRAPH_VERSION "0.10.15-23-g9f06e4c34"
#define IGRAPH_VERSION_MAJOR 0
#define IGRAPH_VERSION_MINOR 10
#define IGRAPH_VERSION_PATCH 15
#define IGRAPH_VERSION_PRERELEASE "22-gbefc831ff"
#define IGRAPH_VERSION_PRERELEASE "23-g9f06e4c34"

IGRAPH_EXPORT void igraph_version(const char **version_string,
int *major,
Expand Down

0 comments on commit 2826ebf

Please sign in to comment.