Skip to content

Commit

Permalink
revert options
Browse files Browse the repository at this point in the history
  • Loading branch information
hschreiber committed Oct 13, 2023
1 parent e8a06ff commit 37d3a63
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/Persistent_cohomology/example/plain_homology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ struct MyOptions : Gudhi::Simplex_tree_options_full_featured {
typedef short Vertex_handle;
// Maximum number of simplices to compute persistence is 2^8 - 1 = 255. One is reserved for null_key
typedef std::uint8_t Simplex_key;

static const bool stable_simplex_handles = true;
};

using ST = Gudhi::Simplex_tree<MyOptions>;
Expand Down
2 changes: 0 additions & 2 deletions src/Simplex_tree/example/mini_simplex_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ struct MyOptions : Gudhi::Simplex_tree_options_full_featured {
static const bool store_filtration = false;
// I have few vertices
typedef short Vertex_handle;

static const bool stable_simplex_handles = true;
};

using ST = Gudhi::Simplex_tree<MyOptions>;
Expand Down
6 changes: 3 additions & 3 deletions src/Simplex_tree/include/gudhi/Simplex_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ struct Simplex_tree_options_full_featured {
static const bool store_filtration = true;
static const bool contiguous_vertices = false;
static const bool link_nodes_by_label = false;
static const bool stable_simplex_handles = true;
static const bool stable_simplex_handles = false;
};

/** Model of SimplexTreeOptions, faster than `Simplex_tree_options_full_featured` but note the unsafe
Expand All @@ -2335,7 +2335,7 @@ struct Simplex_tree_options_fast_persistence {
static const bool store_filtration = true;
static const bool contiguous_vertices = true;
static const bool link_nodes_by_label = false;
static const bool stable_simplex_handles = true;
static const bool stable_simplex_handles = false;
};

/** Model of SimplexTreeOptions, faster cofaces than `Simplex_tree_options_full_featured`, note the
Expand All @@ -2352,7 +2352,7 @@ struct Simplex_tree_options_fast_cofaces {
static const bool store_filtration = true;
static const bool contiguous_vertices = false;
static const bool link_nodes_by_label = true;
static const bool stable_simplex_handles = true;
static const bool stable_simplex_handles = false;
};

/** @}*/ // end addtogroup simplex_tree
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ struct MyOptions : Simplex_tree_options_full_featured {
static const bool store_filtration = false;
// I have few vertices
typedef short Vertex_handle;

static const bool stable_simplex_handles = true;
};

struct MyStableOptions : Simplex_tree_options_full_featured {
Expand Down
2 changes: 0 additions & 2 deletions src/Simplex_tree/test/simplex_tree_remove_unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ struct MyOptions : Simplex_tree_options_full_featured {
static const bool store_filtration = false;
// I have few vertices
typedef short Vertex_handle;

static const bool stable_simplex_handles = true;
};

using Mini_stree = Simplex_tree<MyOptions>;
Expand Down

0 comments on commit 37d3a63

Please sign in to comment.