File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ template <typename VertexProperties> class GraphManager {
112112 // / @brief Retrieves the weight of an edge
113113 // / @param edge the EdgeDescriptor
114114 // / @return the weight of the given edge
115- size_t weight (const EdgeDescriptor &edge) const ;
115+ double weight (const EdgeDescriptor &edge) const ;
116116
117117 // / @brief Direct access to the VertexProperties of a vertex descriptor
118118 // / @param vertex the vertex descriptor (index)
@@ -241,7 +241,7 @@ size_t GraphManager<VertexProperties>::target(
241241// / @param edge the EdgeDescriptor
242242// / @return the weight of the given edge
243243template <typename VertexProperties>
244- size_t GraphManager<VertexProperties>::weight(
244+ double GraphManager<VertexProperties>::weight(
245245 const typename GraphManager<VertexProperties>::EdgeDescriptor &edge) const
246246{
247247 return boost::get (&NeuralEdgeProperties::weight, graph_, edge);
You can’t perform that action at this time.
0 commit comments