summaryrefslogtreecommitdiff
path: root/src/cython/include/Alpha_complex_interface.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-11-29 16:50:55 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-11-29 16:50:55 +0000
commit97d80185d6ec4d5e8f81b4cd4936d29a6d63b05b (patch)
tree58b2340961e93d39ea8f837f0658aa97f1c4ab81 /src/cython/include/Alpha_complex_interface.h
parent2976ab407d564b46173aeedf5c1e876b5cfc5a97 (diff)
Fix interface for Alpha complex and Tangential complex
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@1801 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 995b53c7f65057ec155988b90f17299665eab4ae
Diffstat (limited to 'src/cython/include/Alpha_complex_interface.h')
-rw-r--r--src/cython/include/Alpha_complex_interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cython/include/Alpha_complex_interface.h b/src/cython/include/Alpha_complex_interface.h
index 15384206..81761c77 100644
--- a/src/cython/include/Alpha_complex_interface.h
+++ b/src/cython/include/Alpha_complex_interface.h
@@ -69,9 +69,9 @@ class Alpha_complex_interface {
return vd;
}
- void create_simplex_tree(Simplex_tree_interface<>& simplex_tree, double max_alpha_square) {
- alpha_complex_->create_complex(simplex_tree, max_alpha_square);
- simplex_tree.initialize_filtration();
+ void create_simplex_tree(Simplex_tree_interface<>* simplex_tree, double max_alpha_square) {
+ alpha_complex_->create_complex(*simplex_tree, max_alpha_square);
+ simplex_tree->initialize_filtration();
}
private: