diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-11-25 13:17:50 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-11-25 13:17:50 +0000 |
commit | e15d7f55c337596e988cd84425bbfc4815913074 (patch) | |
tree | eb8b476b96893008c771618134daed19ef300d54 /src/Bottleneck_distance/include/gudhi/Bottleneck.h | |
parent | 5bd04a9433462965aecf000e5044e70405e968ff (diff) |
copyrigths
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneck_integration@1783 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: c045f59d4f2810aa2193add84ac97a2632888dc4
Diffstat (limited to 'src/Bottleneck_distance/include/gudhi/Bottleneck.h')
-rw-r--r-- | src/Bottleneck_distance/include/gudhi/Bottleneck.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Bottleneck_distance/include/gudhi/Bottleneck.h b/src/Bottleneck_distance/include/gudhi/Bottleneck.h index 71845e25..bb0a13d2 100644 --- a/src/Bottleneck_distance/include/gudhi/Bottleneck.h +++ b/src/Bottleneck_distance/include/gudhi/Bottleneck.h @@ -2,9 +2,9 @@ * (Geometric Understanding in Higher Dimensions) is a generic C++ * library for computational topology. * - * Author(s): Francois Godi + * Author: Francois Godi * - * Copyright (C) 2015 INRIA Sophia-Antipolis (France) + * Copyright (C) 2015 INRIA (France) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -65,7 +65,7 @@ double compute(const Persistence_diagram1 &diag1, const Persistence_diagram2 &di if(e == 0.) return compute_exactly(diag1, diag2); G::initialize(diag1, diag2, e); - int in = G::diameter()/e; + int in = G::diameter()/e + 1; int idmin = 0; int idmax = in; // alpha can be modified, this will change the complexity |