From 5168c05f8e6fd11cb4c70dd6fd97f7ac3ecc2d87 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Wed, 21 Oct 2020 14:35:33 +0200 Subject: [PATCH] Fix metis interface. --- util/psb_metis_int.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/psb_metis_int.c b/util/psb_metis_int.c index 5c86ea26..5f451cb7 100644 --- a/util/psb_metis_int.c +++ b/util/psb_metis_int.c @@ -3,6 +3,7 @@ #include "psb_metis_int.h" #if defined(METIS_REAL_32) + int metis_PartGraphKway_C(idx_t *n, idx_t *ixadj, idx_t *iadj, idx_t *ivwg, idx_t *iajw, idx_t *nparts, float *weights, idx_t *graphpart) @@ -36,6 +37,7 @@ int metis_PartGraphKway_C(idx_t *n, idx_t *ixadj, idx_t *iadj, idx_t *ivwg, } #elif defined(METIS_REAL_64) + int metis_PartGraphKway_C(idx_t *n, idx_t *ixadj, idx_t *iadj, idx_t *ivwg, idx_t *iajw, idx_t *nparts, double *weights, idx_t *graphpart) @@ -77,3 +79,4 @@ int metis_PartGraphKway_C(idx_t *n, idx_t *ixadj, idx_t *iadj, idx_t *ivwg, return(-1); } #endif +#endif