diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-03-23 09:16:03 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-03-23 09:16:03 +0000 |
commit | 8a0a20484e968b872b911ca964b079442c6c1fe7 (patch) | |
tree | d453db6d031e782e03cbb48a37c16388ecc1cd2d /src/Alpha_complex/example/Alpha_complex_from_off.cpp | |
parent | ccffd3d0e3d27255533b8bd6d51aa5b4210feb90 (diff) | |
parent | f0e209149a6bf1d3b13572f3704986a429130a48 (diff) |
Merge ST_cythonize branch into the trunk
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2225 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 013d700aaa4b255cc91ff79020b40b7e6c4e7d05
Diffstat (limited to 'src/Alpha_complex/example/Alpha_complex_from_off.cpp')
-rw-r--r-- | src/Alpha_complex/example/Alpha_complex_from_off.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Alpha_complex/example/Alpha_complex_from_off.cpp b/src/Alpha_complex/example/Alpha_complex_from_off.cpp index 32bef1cd..d411e90a 100644 --- a/src/Alpha_complex/example/Alpha_complex_from_off.cpp +++ b/src/Alpha_complex/example/Alpha_complex_from_off.cpp @@ -17,13 +17,13 @@ void usage(int nbArgs, char * const progName) { int main(int argc, char **argv) { if ((argc != 3) && (argc != 4)) usage(argc, (argv[0] - 1)); - std::string off_file_name(argv[1]); - double alpha_square_max_value = atof(argv[2]); + std::string off_file_name {argv[1]}; + double alpha_square_max_value {atof(argv[2])}; // ---------------------------------------------------------------------------- // Init of an alpha complex from an OFF file // ---------------------------------------------------------------------------- - typedef CGAL::Epick_d< CGAL::Dynamic_dimension_tag > Kernel; + using Kernel = CGAL::Epick_d< CGAL::Dynamic_dimension_tag >; Gudhi::alpha_complex::Alpha_complex<Kernel> alpha_complex_from_file(off_file_name); std::streambuf* streambufffer; |