summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-11-07 16:39:36 +0100
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-11-07 16:39:36 +0100
commit98469d9e80a881ab4dae6358b7a7e64ce90784b2 (patch)
tree59cad08417aab0f09e4d9812ce34996cfe384e45 /src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp
parent8732cd18079a12ab813e863839c48b7c9e504fef (diff)
Code review: replace streambufffer with streambuffer - was copied/ pasted from several places
Diffstat (limited to 'src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp')
-rw-r--r--src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp b/src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp
index d6a39a76..f181005a 100644
--- a/src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp
+++ b/src/Alpha_complex/example/Fast_alpha_complex_from_off.cpp
@@ -28,19 +28,19 @@ int main(int argc, char **argv) {
// ----------------------------------------------------------------------------
Gudhi::alpha_complex::Alpha_complex<Fast_kernel> alpha_complex_from_file(off_file_name);
- std::streambuf* streambufffer;
+ std::streambuf* streambuffer;
std::ofstream ouput_file_stream;
if (argc == 4) {
ouput_file_stream.open(std::string(argv[3]));
- streambufffer = ouput_file_stream.rdbuf();
+ streambuffer = ouput_file_stream.rdbuf();
} else {
- streambufffer = std::cout.rdbuf();
+ streambuffer = std::cout.rdbuf();
}
Gudhi::Simplex_tree<> simplex;
if (alpha_complex_from_file.create_complex(simplex, alpha_square_max_value)) {
- std::ostream output_stream(streambufffer);
+ std::ostream output_stream(streambuffer);
// ----------------------------------------------------------------------------
// Display information about the alpha complex