Closed aaronaquino closed 6 years ago
In these lines, we should be looking up values in NIdDistH using the GetDat() function, which accepts a key. Currently the function uses [] notation, which incorrectly assumes we are looking up by key ID.
NIdDistH
GetDat()
[]
https://github.com/snap-stanford/snap/blob/b9e50cb55218d1007c64bece3f56d4c3941dc8c9/snap-core/centr.cpp#L717-L718
Thank you for the report! This has been fixed.
In these lines, we should be looking up values in
NIdDistH
using theGetDat()
function, which accepts a key. Currently the function uses[]
notation, which incorrectly assumes we are looking up by key ID.https://github.com/snap-stanford/snap/blob/b9e50cb55218d1007c64bece3f56d4c3941dc8c9/snap-core/centr.cpp#L717-L718