On 27.04.2015 16:29, Tiago de Paula Peixoto wrote:
> On 27.04.2015 00:31, desert_rain wrote:
>> Hi,
>>
>> I am using graph-tool for my research, thanks for creating graph-tool.
>>
>> I need to calculate average values from vertex and edge  properties.
>> Property types are "vector<double>". When I use the "edge_average" function,
>> program gives 'RuntimeError'. How can I calculate averages from vector
>> property?
>
> Right now you can't, because the sum of two vectors is not defined.

I have fixed this now in git. The average of vector-valued property maps
now works as expected.

Best,
Tiago

-- 
Tiago de Paula Peixoto <ti...@skewed.de>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to