updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / suitesparse / include_path_metis.patch
blobb849e31bea75e3aad131ed0c8740d132c8c12588
1 --- SuiteSparse/CHOLMOD/Partition/cholmod_metis.c 2007-05-04 18:47:17.000000000 +0200
2 +++ SuiteSparse/CHOLMOD/Partition/cholmod_metis.c.new 2011-11-07 17:14:50.000000000 +0100
3 @@ -50,6 +50,7 @@
4 #undef ASSERT
6 #include "metis.h"
7 +typedef idx_t idxtype; /* This typedef changed name from 4.x to 5.x. */
8 /* METIS has its own ASSERT that it reveals to the user, so remove it here: */
9 #undef ASSERT
11 @@ -370,7 +371,7 @@
12 #endif
14 nn = n ;
15 - METIS_NodeComputeSeparator (&nn, Mp, Mi, Mnw, Mew, Opt, &csp, Mpart) ;
16 + METIS_ComputeVertexSeparator (&nn, Mp, Mi, Mew, Opt, &csp, Mpart) ;
17 n = nn ;
18 csep = csp ;