summaryrefslogtreecommitdiff
path: root/src/Cech_complex/example
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2022-01-06 13:40:33 +0100
committerHind-M <hind.montassif@gmail.com>2022-01-06 13:40:33 +0100
commitbeb431316a5181caf0eec5c0940601457340cc58 (patch)
tree200e8efeb5a875aacb6519ff821c517b940b61d2 /src/Cech_complex/example
parentb1f40dd2c4397c1975533c54a54538160c727d55 (diff)
Add left out kernel to Minimal_enclosing_ball_radius class in cech example
Diffstat (limited to 'src/Cech_complex/example')
-rw-r--r--src/Cech_complex/example/cech_complex_step_by_step.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cech_complex/example/cech_complex_step_by_step.cpp b/src/Cech_complex/example/cech_complex_step_by_step.cpp
index 2d8321b1..c8dd1585 100644
--- a/src/Cech_complex/example/cech_complex_step_by_step.cpp
+++ b/src/Cech_complex/example/cech_complex_step_by_step.cpp
@@ -52,7 +52,7 @@ class Cech_blocker {
std::clog << "#(" << vertex << ")#";
#endif // DEBUG_TRACES
}
- Filtration_value radius = Gudhi::Minimal_enclosing_ball_radius()(points);
+ Filtration_value radius = Gudhi::Minimal_enclosing_ball_radius<Kernel>()(points);
#ifdef DEBUG_TRACES
std::clog << "radius = " << radius << " - " << (radius > max_radius_) << std::endl;
#endif // DEBUG_TRACES
@@ -83,7 +83,7 @@ int main(int argc, char* argv[]) {
// Compute the proximity graph of the points
Proximity_graph prox_graph = Gudhi::compute_proximity_graph<Simplex_tree>(off_reader.get_point_cloud(), max_radius,
- Gudhi::Minimal_enclosing_ball_radius());
+ Gudhi::Minimal_enclosing_ball_radius<Kernel>());
// Construct the Cech complex in a Simplex Tree
Simplex_tree st;