-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Line 765 in 355c182
| S_e_aff, S_e_cost = PM_sensitivity(grsp.g.affinities, nothing, grsp.θ, grsp.W, grsp.Z, grsp.Z, qˢ, qᵗ, targetnodes) |
Here you can see that grsp.Z is passed in for both Z and K arguments. But K is written into in PM_sensitivity here with ./=:
ConScape.jl/src/randomizedshortestpath.jl
Line 504 in 355c182
| K ./= [Z[lmarks[i],i] for i in 1:length(lmarks)]' |
This also alters Z, as they are the same matrix. Z is later passed to betweenness functions despite being altered:
ConScape.jl/src/randomizedshortestpath.jl
Line 509 in 355c182
| bet_edge_k = ConScape.RSP_edge_betweenness_kweighted(W, Z, qˢ, qᵗ, K, lmarks) |
@ninbrm I assume this is not intended, and will remove for testing the new version. Please confirm!
Metadata
Metadata
Assignees
Labels
No labels