equal
deleted
inserted
replaced
227 template<class _GR> |
227 template<class _GR> |
228 typename enable_if<typename _GR::UndirTag,void>::type |
228 typename enable_if<typename _GR::UndirTag,void>::type |
229 fillWithEdges(const _GR& g, const Map& m,dummy<0> = 0) |
229 fillWithEdges(const _GR& g, const Map& m,dummy<0> = 0) |
230 { |
230 { |
231 for(typename GR::UndirEdgeIt e(g);e!=INVALID;++e) |
231 for(typename GR::UndirEdgeIt e(g);e!=INVALID;++e) |
232 push_back(value_type(typename GR::Edge(e,true), m[e])); |
232 push_back(value_type(g.direct(e, true), m[e])); |
233 } |
233 } |
234 |
234 |
235 template<class _GR> |
235 template<class _GR> |
236 typename disable_if<typename _GR::UndirTag,void>::type |
236 typename disable_if<typename _GR::UndirTag,void>::type |
237 fillWithEdges(const _GR& g, const Map& m,dummy<1> = 1) |
237 fillWithEdges(const _GR& g, const Map& m,dummy<1> = 1) |