diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2019-11-19 14:56:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 14:56:13 +0100 |
commit | 9471d51c322ccbff12482c9c9cf2df98b9bdb50c (patch) | |
tree | a48ff64e560c37af1bc504016873efbcc07e8226 /src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp | |
parent | 63616eba3031334d8e2c267e54f9aa4a801baeff (diff) | |
parent | c8be137d15f40f40c4150f0c0fb9776cd680a36c (diff) |
Merge pull request #127 from VincentRouvreau/alpha_complex_with_cgal_epeck_d
Alpha complex with cgal epeck d
Diffstat (limited to 'src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp')
-rw-r--r-- | src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp b/src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp index 9e182f1e..b7040453 100644 --- a/src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp +++ b/src/Rips_complex/example/example_rips_complex_from_csv_distance_matrix_file.cpp @@ -35,19 +35,19 @@ int main(int argc, char **argv) { Distance_matrix distances = Gudhi::read_lower_triangular_matrix_from_csv_file<Filtration_value>(csv_file_name); Rips_complex rips_complex_from_file(distances, threshold); - std::streambuf* streambufffer; + std::streambuf* streambuffer; std::ofstream ouput_file_stream; if (argc == 5) { ouput_file_stream.open(std::string(argv[4])); - streambufffer = ouput_file_stream.rdbuf(); + streambuffer = ouput_file_stream.rdbuf(); } else { - streambufffer = std::cout.rdbuf(); + streambuffer = std::cout.rdbuf(); } Simplex_tree stree; rips_complex_from_file.create_complex(stree, dim_max); - std::ostream output_stream(streambufffer); + std::ostream output_stream(streambuffer); // ---------------------------------------------------------------------------- // Display information about the Rips complex |