From ccc1ca066fa7c1fb35929eceb52f2f36179aea37 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 8 Dec 2016 17:02:26 +0000 Subject: Remove inline from read_graph (now inline) Remove Edge_t template (not needed) Add documentation on template params git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/distance_matrix_in_rips_module@1839 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a011b11cddf1a20e29743e6b170dac054ac79c12 --- src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Simplex_tree/example') diff --git a/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp b/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp index 1dff4529..d1b8b2de 100644 --- a/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp +++ b/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp @@ -35,7 +35,6 @@ typedef double Filtration_value; typedef boost::adjacency_list < boost::vecS, boost::vecS, boost::undirectedS, boost::property < vertex_filtration_t, Filtration_value >, boost::property < edge_filtration_t, Filtration_value > > Graph_t; -typedef std::pair< Vertex_handle, Vertex_handle > Edge_t; int main(int argc, char * const argv[]) { if (argc != 3) { @@ -51,7 +50,7 @@ int main(int argc, char * const argv[]) { Simplex_tree<> st; start = clock(); - auto g = read_graph(filegraph); + auto g = read_graph(filegraph); // insert the graph in the simplex tree as 1-skeleton st.insert_graph(g); end = clock(); -- cgit v1.2.3