summaryrefslogtreecommitdiff
path: root/src/python/include/Simplex_tree_interface.h
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:39:03 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:39:03 +0200
commitf4f5992e9025d055e35c86589923f1b0299f552e (patch)
treecda7295aade59f3c8e1a2dbd97fc0123766ab9b1 /src/python/include/Simplex_tree_interface.h
parentc2eb0484191f89fcbe40bc4ab04943eb808f12a9 (diff)
code review: rename block_func when it is a type. Type is a 'callable'
Diffstat (limited to 'src/python/include/Simplex_tree_interface.h')
-rw-r--r--src/python/include/Simplex_tree_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/include/Simplex_tree_interface.h b/src/python/include/Simplex_tree_interface.h
index 9f92b349..a859bec0 100644
--- a/src/python/include/Simplex_tree_interface.h
+++ b/src/python/include/Simplex_tree_interface.h
@@ -39,7 +39,7 @@ class Simplex_tree_interface : public Simplex_tree<SimplexTreeOptions> {
using Skeleton_simplex_iterator = typename Base::Skeleton_simplex_iterator;
using Complex_simplex_iterator = typename Base::Complex_simplex_iterator;
using Extended_filtration_data = typename Base::Extended_filtration_data;
- typedef bool (*blocker_func)(Simplex simplex, void *user_data);
+ typedef bool (*blocker_func_t)(Simplex simplex, void *user_data);
public:
@@ -189,7 +189,7 @@ class Simplex_tree_interface : public Simplex_tree<SimplexTreeOptions> {
return collapsed_stree_ptr;
}
- void expansion_with_blockers_callback(int dimension, blocker_func user_func, void *user_data) {
+ void expansion_with_blockers_callback(int dimension, blocker_func_t user_func, void *user_data) {
Base::expansion_with_blockers(dimension, [&](Simplex_handle sh){
Simplex simplex;
for (auto vertex : Base::simplex_vertex_range(sh)) {