Ticket #3569: graph.patch
File graph.patch, 1.8 KB (added by , 13 years ago) |
---|
-
boost/graph/howard_cycle_ratio.hpp
216 216 tie(oei, oeie) = out_edges(*vi, m_g); 217 217 typename graph_traits<Graph>::out_edge_iterator mei = 218 218 std::max_element(oei, oeie, 219 b ind(m_cmp,220 bind(&EdgeWeight1::operator[], m_ew1m, _1),221 bind(&EdgeWeight1::operator[], m_ew1m, _2)222 )219 boost::bind(m_cmp, 220 boost::bind(&EdgeWeight1::operator[], m_ew1m, _1), 221 boost::bind(&EdgeWeight1::operator[], m_ew1m, _2) 222 ) 223 223 ); 224 224 if (mei == oeie) 225 225 { … … 334 334 tie(uv_itr, vie) = vertices(m_g); 335 335 float_t mcr = m_bound; 336 336 while ( (uv_itr = std::find_if(uv_itr, vie, 337 b ind(std::equal_to<my_color_type>(),338 my_white,339 bind(&color_map_t::operator[], vcm_, _1)340 )337 boost::bind(std::equal_to<my_color_type>(), 338 my_white, 339 boost::bind(&color_map_t::operator[], vcm_, _1) 340 ) 341 341 ) 342 342 ) != vie ) 343 343 ///While there are undiscovered vertices