graphstream/gs-core

getPathWeight() compatibility with Float

Opened this issue · 0 comments

When using getPathWeight(), the attributes are of type long when calculating the sum, so it makes it impossible to get a total path weight with Floats.

"class java.lang.Float cannot be cast to class java.lang.Double"