We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcaf3d7 commit 4d4f0b5Copy full SHA for 4d4f0b5
highs/ipm/hipo/factorhighs/Analyse.cpp
@@ -7,10 +7,16 @@
7
8
#include "DataCollector.h"
9
#include "FactorHiGHSSettings.h"
10
-// #include "GKlib.h"
11
#include "ReturnValues.h"
12
#include "ipm/hipo/auxiliary/Auxiliary.h"
13
#include "ipm/hipo/auxiliary/Log.h"
+
14
+// define correct int type for Metis before header is included
15
+#ifdef HIGHSINT64
16
+#define IDXTYPEWIDTH 64
17
+#else
18
+#define IDXTYPEWIDTH 32
19
+#endif
20
#include "metis.h"
21
22
namespace hipo {
@@ -104,7 +110,7 @@ Int Analyse::getPermutation() {
104
110
}
105
111
106
112
107
- Int options[METIS_NOPTIONS];
113
+ idx_t options[METIS_NOPTIONS];
108
114
METIS_SetDefaultOptions(options);
109
115
options[METIS_OPTION_SEED] = kMetisSeed;
116
0 commit comments