summaryrefslogtreecommitdiff
path: root/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-02-16 16:42:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-02-16 16:42:04 +0000
commit4a91726c9500e4b7ffe469192aa1140650c3d094 (patch)
treecd0992be00fda6f140cd1ebc97b8a5aae95bd716 /src/Cech_complex/include/gudhi/Cech_complex_blocker.h
parent56618be4e28a6a149aaa0fef944d8fde719f7844 (diff)
Compiles. Class documentation is done.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cechcomplex_vincent@3252 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fdcfe090afddb112dee4c19c7b42432277a7f468
Diffstat (limited to 'src/Cech_complex/include/gudhi/Cech_complex_blocker.h')
-rw-r--r--src/Cech_complex/include/gudhi/Cech_complex_blocker.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
index 647bf0b7..25fab909 100644
--- a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
+++ b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
@@ -23,8 +23,7 @@
#ifndef CECH_COMPLEX_BLOCKER_H_
#define CECH_COMPLEX_BLOCKER_H_
-#include <gudhi/graph_simplicial_complex.h>
-#include <gudhi/Cech_complex.h>
+#include <gudhi/Cech_complex.h> // Cech_blocker is using a pointer on Gudhi::cech_complex::Cech_complex
#include <Miniball/Miniball.hpp>
@@ -56,7 +55,7 @@ class Cech_blocker {
bool operator()(Simplex_handle sh) {
Point_cloud points;
for (auto vertex : simplicial_complex_.simplex_vertex_range(sh)) {
- points.push_back(cc_ptr_->point(vertex));
+ points.push_back(*(cc_ptr_->point(vertex)));
#ifdef DEBUG_TRACES
std::cout << "#(" << vertex << ")#";
#endif // DEBUG_TRACES