Skip to content

Commit 3d8a4d3

Browse files
asinghvi17rafaqz
andauthored
Remove old code
Co-authored-by: Rafael Schouten <rafaelschouten@gmail.com>
1 parent e26c94e commit 3d8a4d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/methods/sample.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function _sample(alg::UniformSampling, ::GI.LineStringTrait, geom, n)
4747
edges = to_edges(geom)
4848
edge_lengths = map(splat(distance), edges)
4949
# normalize the vector
50-
edge_lengths .= edge_lengths
5150
edge_probabilities = edge_lengths ./ sum(edge_lengths)
5251
edge_idxs = 1:length(edges)
5352
return map(1:n) do _

0 commit comments

Comments
 (0)