Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alyst committed Apr 7, 2019
1 parent a948adb commit 31bc0c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/seeding.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ function initseeds_by_costs!(iseeds::IntegerVector, alg::KmCentralityAlg,

# scores[j] = \sum_j costs[i,j] / (\sum_{j'} costs[i,j'])
# = costs[i,j] * coefs[i]
#
# So this is matrix-vector multiplication
scores = costs'coefs

# lower score indicates better seeds
Expand Down
1 change: 1 addition & 0 deletions test/kmeans.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,5 @@ end
end
end
end

end

0 comments on commit 31bc0c9

Please sign in to comment.