summaryrefslogtreecommitdiff
path: root/debian/patches/0009-Rounding-workaround-on-i686.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0009-Rounding-workaround-on-i686.patch')
-rw-r--r--debian/patches/0009-Rounding-workaround-on-i686.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/patches/0009-Rounding-workaround-on-i686.patch b/debian/patches/0009-Rounding-workaround-on-i686.patch
deleted file mode 100644
index 39629fe1..00000000
--- a/debian/patches/0009-Rounding-workaround-on-i686.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Gard Spreemann <gspreemann@gmail.com>
-Date: Mon, 11 Jun 2018 15:42:51 +0200
-Subject: Rounding workaround on i686.
-
----
- include/gudhi/Bottleneck.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/gudhi/Bottleneck.h b/include/gudhi/Bottleneck.h
-index 7aee07b..ffa87a8 100644
---- a/include/gudhi/Bottleneck.h
-+++ b/include/gudhi/Bottleneck.h
-@@ -42,7 +42,7 @@ double bottleneck_distance_approx(Persistence_graph& g, double e) {
- Graph_matching m(g);
- Graph_matching biggest_unperfect(g);
- while (b_upper_bound - b_lower_bound > 2 * e) {
-- double step = b_lower_bound + (b_upper_bound - b_lower_bound) / alpha;
-+ volatile double step = b_lower_bound + (b_upper_bound - b_lower_bound) / alpha;
- if (step <= b_lower_bound || step >= b_upper_bound) // Avoid precision problem
- break;
- m.set_r(step);