diff --git a/src/vendor/cigraph/vendor/plfit/hzeta.c b/src/vendor/cigraph/vendor/plfit/hzeta.c index e6564b247a..b099036c83 100644 --- a/src/vendor/cigraph/vendor/plfit/hzeta.c +++ b/src/vendor/cigraph/vendor/plfit/hzeta.c @@ -46,23 +46,23 @@ #define _USE_MATH_DEFINES #endif -#include -#include -#include "hzeta.h" -#include "plfit_error.h" - /* Work around bug in some Windows SDK / MSVC versions where NAN is not a * constant expression, triggering an error in the definition of * hsl_sf_hzeta_eulermaclaurin_series_coeffs[] and * hsl_sf_hzeta_eulermaclaurin_series_majorantratios[] below. * We re-define NAN to the value it had in earlier MSVC versions. * See https://github.com/igraph/igraph/issues/2701 + * and https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907 */ #ifdef _MSC_VER -#undef NAN -#define NAN (-(float)(((float)(1e+300 * 1e+300)) * 0.0F)) +#define _UCRT_NOISY_NAN #endif +#include +#include +#include "hzeta.h" +#include "plfit_error.h" + /* imported from gsl_machine.h */ #define GSL_LOG_DBL_MIN (-7.0839641853226408e+02) diff --git a/src/vendor/igraph_version.h b/src/vendor/igraph_version.h index d4c0081f90..3bad40e7ff 100644 --- a/src/vendor/igraph_version.h +++ b/src/vendor/igraph_version.h @@ -28,11 +28,11 @@ __BEGIN_DECLS -#define IGRAPH_VERSION "0.10.15-46-g622f331dc" +#define IGRAPH_VERSION "0.10.15-47-g521624378" #define IGRAPH_VERSION_MAJOR 0 #define IGRAPH_VERSION_MINOR 10 #define IGRAPH_VERSION_PATCH 15 -#define IGRAPH_VERSION_PRERELEASE "46-g622f331dc" +#define IGRAPH_VERSION_PRERELEASE "47-g521624378" IGRAPH_EXPORT void igraph_version(const char **version_string, int *major,