Skip to content

Commit 96ed07f

Browse files
committed
use view to preserve the sorting
1 parent e64a05d commit 96ed07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decompositions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function tet_to_edges!(pair::Vector, pair_set::Set, t)
6464
end
6565

6666
# sort the edge pairs for better point lookup
67-
#sort!(pair)
67+
sort!(view(pair, 1:(i-1)))
6868

6969
return i - 1 # return the number of pairs
7070
end

0 commit comments

Comments
 (0)