summaryrefslogtreecommitdiff
path: root/src/cython/include
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 21:36:13 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-03-22 21:36:13 +0000
commit6b7d9286e9f68ff388ac487d644482c862b57782 (patch)
tree19eb374c75857ccb16415d4fd3482efda82a3d88 /src/cython/include
parent0724c2bcab0fa444ecf8178c27f59ca788a0aa03 (diff)
rename get_star function
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@2221 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fff57c25d175a6aed355efeb449f94a1af2249b3
Diffstat (limited to 'src/cython/include')
-rw-r--r--src/cython/include/Simplex_tree_interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cython/include/Simplex_tree_interface.h b/src/cython/include/Simplex_tree_interface.h
index 6a35684d..c2783e22 100644
--- a/src/cython/include/Simplex_tree_interface.h
+++ b/src/cython/include/Simplex_tree_interface.h
@@ -113,8 +113,8 @@ class Simplex_tree_interface : public Simplex_tree<SimplexTreeOptions> {
return skeleton_tree;
}
- Complex get_stars(const Simplex& simplex) {
- Complex stars;
+ Complex get_star(const Simplex& simplex) {
+ Complex star;
for (auto f_simplex : Base::star_simplex_range(Base::find(simplex))) {
Simplex simplex_star;
for (auto vertex : Base::simplex_vertex_range(f_simplex)) {
@@ -122,9 +122,9 @@ class Simplex_tree_interface : public Simplex_tree<SimplexTreeOptions> {
simplex_star.insert(simplex_star.begin(), vertex);
}
std::cout << std::endl;
- stars.push_back(std::make_pair(simplex_star, Base::filtration(f_simplex)));
+ star.push_back(std::make_pair(simplex_star, Base::filtration(f_simplex)));
}
- return stars;
+ return star;
}
Complex get_cofaces(const Simplex& simplex, int dimension) {