Skip to content

Commit

Permalink
revert to the previous commit, the apls bug may not be a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
songtao committed May 6, 2021
1 parent 24e49cb commit 73516c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics/apls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ func apls_one_way(graph_gt *graph, graph_prop *graph, ret chan float64) {


d1 := shortest_paths_gt[cp1_gt][cp2_gt]

//if (cp1_prop == -1 || cp2_prop == -1) && (d1 > 0.0) {
if (cp1_prop == -1 || cp2_prop == -1) {
cc += 1.0
Expand Down

0 comments on commit 73516c6

Please sign in to comment.