summaryrefslogtreecommitdiff
path: root/sci-libs/cholmod/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/cholmod/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/cholmod/files')
-rw-r--r--sci-libs/cholmod/files/cholmod-1.7.4-parmetis32.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-libs/cholmod/files/cholmod-1.7.4-parmetis32.patch b/sci-libs/cholmod/files/cholmod-1.7.4-parmetis32.patch
new file mode 100644
index 000000000000..6b50ae8bcea7
--- /dev/null
+++ b/sci-libs/cholmod/files/cholmod-1.7.4-parmetis32.patch
@@ -0,0 +1,20 @@
+diff -Nur CHOLMOD.orig/Partition/cholmod_metis.c CHOLMOD/Partition/cholmod_metis.c
+--- CHOLMOD.orig/Partition/cholmod_metis.c 2012-03-13 03:57:37.000000000 +0000
++++ CHOLMOD/Partition/cholmod_metis.c 2012-03-13 04:02:22.000000000 +0000
+@@ -216,6 +216,7 @@
+ int Opt [8], nn, csp ;
+ size_t n1 ;
+ DEBUG (Int nsep) ;
++ float ubfactor = 1.05;
+
+ /* ---------------------------------------------------------------------- */
+ /* check inputs */
+@@ -370,7 +371,7 @@
+ #endif
+
+ nn = n ;
+- METIS_NodeComputeSeparator (&nn, Mp, Mi, Mnw, Mew, Opt, &csp, Mpart) ;
++ METIS_NodeComputeSeparator (&nn, Mp, Mi, Mnw, Mew, &ubfactor, Opt, &csp, Mpart) ;
+ n = nn ;
+ csep = csp ;
+