summaryrefslogtreecommitdiff
path: root/src/Bottleneck_distance
diff options
context:
space:
mode:
authorcjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-09 10:32:48 +0000
committercjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-06-09 10:32:48 +0000
commit3a7ffc0bfec712cb586d5c7ea154a4fd20be1a39 (patch)
tree9d1a477b1ad2b0332c70034585f5c37d75d8970b /src/Bottleneck_distance
parent03f7d661f8b5d34320a075a826c0bfeafa16633f (diff)
Change names and adapt example
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/read_persistence_from_file@2531 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 833a51dd03ddccca38c6011834bb58667d63ccbf
Diffstat (limited to 'src/Bottleneck_distance')
-rw-r--r--src/Bottleneck_distance/example/bottleneck_read_file_example.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bottleneck_distance/example/bottleneck_read_file_example.cpp b/src/Bottleneck_distance/example/bottleneck_read_file_example.cpp
index de8c7f9d..94d9a148 100644
--- a/src/Bottleneck_distance/example/bottleneck_read_file_example.cpp
+++ b/src/Bottleneck_distance/example/bottleneck_read_file_example.cpp
@@ -35,8 +35,8 @@ int main(int argc, char** argv) {
"should contain a birth-death pair per line. Third, optional parameter is an error bound on a bottleneck" <<
" distance (set by default to zero). The program will now terminate \n";
}
- std::vector<std::pair<double, double>> diag1 = read_persistence_diagram_from_file(argv[1], -1);
- std::vector<std::pair<double, double>> diag2 = read_persistence_diagram_from_file(argv[2], -1);
+ std::vector<std::pair<double, double>> diag1 = read_persistence_intervals_in_dimension(argv[1]);
+ std::vector<std::pair<double, double>> diag2 = read_persistence_intervals_in_dimension(argv[2]);
double tolerance = 0.;
if (argc == 4) {