diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-01-17 15:37:17 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-01-17 15:37:17 +0100 |
commit | 9acc59fcc1d5001a212e7b9cd6f00a569a625882 (patch) | |
tree | 0f8c3a3c29a9fef6394394a9650198b348bff130 /src/Rips_complex/example/example_rips_complex_from_off_file.cpp | |
parent | 5ccee32ec2ba38743c6b96867db3e1b5151e45e4 (diff) | |
parent | cabc43b34723efa7640313348b844eabe9971e38 (diff) |
Merge tag 'tags/gudhi-release-3.1.0.rc1' into dfsg/latest
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 |