File: 04_fix_FTBFS.patch

package info (click to toggle)
getfem%2B%2B 5.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 32,668 kB
  • ctags: 20,930
  • sloc: cpp: 110,660; ansic: 72,312; python: 6,064; sh: 3,608; perl: 1,710; makefile: 1,343
file content (17 lines) | stat: -rw-r--r-- 653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix FTBFS
Author: Anton Gladky <gladk@debian.org>
Last-Update: <2016-04-15>

Index: getfem-5.1/interface/src/gf_asm.cc
===================================================================
--- getfem-5.1.orig/interface/src/gf_asm.cc
+++ getfem-5.1/interface/src/gf_asm.cc
@@ -218,7 +218,7 @@ void asm_stabilization_patch_matrix
 
   int nparts = 1;
 #ifdef GETFEM_HAVE_METIS
-  nparts = int(size_of_crack/(ratio_size*h));
+  nparts = int(size_of_crack/(ratio_size));
 # ifdef GETFEM_HAVE_METIS_OLD_API
   std::vector<int> adjwgt(k); // actually Metis would also accept NULL instead of an empty array
   int wgtflag = 2, numflag = 0, edgecut;