diff --git a/example/cycle_ratio_example.cpp b/example/cycle_ratio_example.cpp index b838a958..68846456 100644 --- a/example/cycle_ratio_example.cpp +++ b/example/cycle_ratio_example.cpp @@ -34,10 +34,10 @@ void gen_rand_graph(TG &g, size_t nV, size_t nE) rng.seed(uint32_t(time(0))); boost::generate_random_graph(g, nV, nE, rng, true, true); boost::uniform_real<> ur(-1,10); - boost::variate_generator > ew1rg(rng, ur); + boost::variate_generator > ew1rg(rng, ur); randomize_property(g, ew1rg); boost::uniform_int uint(1,5); - boost::variate_generator > ew2rg(rng, uint); + boost::variate_generator > ew2rg(rng, uint); randomize_property(g, ew2rg); } diff --git a/include/boost/graph/compressed_sparse_row_graph.hpp b/include/boost/graph/compressed_sparse_row_graph.hpp index 1ea2b655..cbc8cf91 100644 --- a/include/boost/graph/compressed_sparse_row_graph.hpp +++ b/include/boost/graph/compressed_sparse_row_graph.hpp @@ -1132,7 +1132,7 @@ class compressed_sparse_row_graph } template + typename GlobalToLocal> void add_edges_sorted_internal_global( BidirectionalIteratorOrig first_sorted, @@ -1368,7 +1368,7 @@ add_edge(Vertex src, Vertex tgt, const GlobalToLocal& global_to_local, BOOST_CSR_GRAPH_TYPE& g) { g.add_edges_sorted_internal_global(first_sorted, last_sorted, ep_iter_sorted, - global_to_local); + global_to_local); } // Add edges from a sorted (smallest sources first) range of pairs @@ -1388,7 +1388,7 @@ add_edge(Vertex src, Vertex tgt, typename GlobalToLocal> inline void add_edges_global(InputIterator first, InputIterator last, - const GlobalToLocal& global_to_local, BOOST_CSR_GRAPH_TYPE& g) { + const GlobalToLocal& global_to_local, BOOST_CSR_GRAPH_TYPE& g) { g.add_edges_internal(first, last, global_to_local); }