summaryrefslogtreecommitdiff
path: root/src/Skeleton_blocker/example
diff options
context:
space:
mode:
authorsalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-11-14 15:21:34 +0000
committersalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-11-14 15:21:34 +0000
commit0e156a914ecfa1e8d71a8bee49400ed66a191637 (patch)
treedbc8096404f20e57a5376165e6dfa0b495909ab8 /src/Skeleton_blocker/example
parent20cb0d7a919005ba20d0a76cca38a73d3a119480 (diff)
skbl: correct typo in test and small renamings
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/skb_simplex_insertion_merge@918 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 543ae94051051e1a79f95192db24fcd411dbea28
Diffstat (limited to 'src/Skeleton_blocker/example')
-rw-r--r--src/Skeleton_blocker/example/Skeleton_blocker_link.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Skeleton_blocker/example/Skeleton_blocker_link.cpp b/src/Skeleton_blocker/example/Skeleton_blocker_link.cpp
index 5c717938..5e429728 100644
--- a/src/Skeleton_blocker/example/Skeleton_blocker_link.cpp
+++ b/src/Skeleton_blocker/example/Skeleton_blocker_link.cpp
@@ -39,9 +39,12 @@ typedef Complex::Simplex Simplex;
int main(int argc, char *argv[]) {
// build a full complex with 4 vertices and 2^4-1 simplices
- // Initial vertices are (0,1,2,3,4)
- Simplex tetrahedron(Vertex_handle(0), Vertex_handle(1), Vertex_handle(2), Vertex_handle(3));
+
+ // Create a complex with four vertices (0,1,2,3)
Complex complex;
+
+ // Add a tetrahedron to this complex
+ Simplex tetrahedron(Vertex_handle(0), Vertex_handle(1), Vertex_handle(2), Vertex_handle(3));
complex.add_simplex(tetrahedron);
cout << "complex:" << complex.to_string() << endl;