cholmod-1.7.4-parmetis32.patch 702 B

123456789101112131415161718192021
  1. diff -Nur CHOLMOD.orig/Partition/cholmod_metis.c CHOLMOD/Partition/cholmod_metis.c
  2. --- CHOLMOD.orig/Partition/cholmod_metis.c 2012-03-13 03:57:37.000000000 +0000
  3. +++ CHOLMOD/Partition/cholmod_metis.c 2012-03-13 04:02:22.000000000 +0000
  4. @@ -216,6 +216,7 @@
  5. int Opt [8], nn, csp ;
  6. size_t n1 ;
  7. DEBUG (Int nsep) ;
  8. + float ubfactor = 1.05;
  9. /* ---------------------------------------------------------------------- */
  10. /* check inputs */
  11. @@ -370,7 +371,7 @@
  12. #endif
  13. nn = n ;
  14. - METIS_NodeComputeSeparator (&nn, Mp, Mi, Mnw, Mew, Opt, &csp, Mpart) ;
  15. + METIS_NodeComputeSeparator (&nn, Mp, Mi, Mnw, Mew, &ubfactor, Opt, &csp, Mpart) ;
  16. n = nn ;
  17. csep = csp ;