```
NumericalProperty p = new NumericalProperty("weight");
p.setValue(0, 10);
System.out.println(p.getValueAsDouble(0)); // 4.9E-323
System.out.println(p.getValueAsInt(0)); // 10
```
The side effect here is that I cannot use `Graph.getNeighborsAtMaxDistance` because it is using `getValueAsDouble` internally, so the comparison with `maxDistance` is always true.
I tested with `1.10.8` which is described on the website as the latest release. I also found a version `4.0.0` which uses `long` instead of `int`, but the bug is there too.
I reported this here too, but not sure if this repo is maintained: https://github.com/lhogie/grph/issues/2
--
You received this message because you are subscribed to the Google Groups "Grph: High Performance Graph Library for Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grph-high-performance-graphs-for-java+unsubscribe@googlegroups.com.
To post to this group, send an email to grph-high-performance-graphs-for-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Luc Hogie
Phone: 06 80 91 40 71
Skype: luchogie
"Je suis heureux parce que c'est bon pour la santé" Voltaire