diff options
author | tlacombe <lacombe1993@gmail.com> | 2019-12-16 17:19:44 +0100 |
---|---|---|
committer | tlacombe <lacombe1993@gmail.com> | 2019-12-16 17:19:44 +0100 |
commit | efebda596ae5a03dd0f15317ebfe74b5f19c78aa (patch) | |
tree | c21581669c5dcc985bed33fd043c0999f4e20e7d /src/Rips_complex/example/example_rips_complex_from_off_file.cpp | |
parent | aba9ad68394b0c5aae22c450cac7162733132002 (diff) | |
parent | 3f1601665cbd0b7397c9c19f55d608246192207b (diff) |
Merge branch 'master' into wbary-theo
updating master in wbary-theo
Diffstat (limited to 'src/Rips_complex/example/example_rips_complex_from_off_file.cpp')
-rw-r--r-- | src/Rips_complex/example/example_rips_complex_from_off_file.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Rips_complex/example/example_rips_complex_from_off_file.cpp b/src/Rips_complex/example/example_rips_complex_from_off_file.cpp index de2e4ea4..36b468a7 100644 --- a/src/Rips_complex/example/example_rips_complex_from_off_file.cpp +++ b/src/Rips_complex/example/example_rips_complex_from_off_file.cpp @@ -34,19 +34,19 @@ int main(int argc, char **argv) { Gudhi::Points_off_reader<Point> off_reader(off_file_name); Rips_complex rips_complex_from_file(off_reader.get_point_cloud(), threshold, Gudhi::Euclidean_distance()); - 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 |