summaryrefslogtreecommitdiff
path: root/src/cython/include/Alpha_complex_interface.h
diff options
context:
space:
mode:
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: