Skip to content

Commit 0650adb

Browse files
Use append! rather than push!
1 parent 492368d commit 0650adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ end
5353

5454
function pushrandomsubset!(subset, set, n::Int)
5555
topush = randomsubset(setdiff(set, subset), n)
56-
push!(subset, topush...)
56+
append!(subset, topush)
5757
nothing
5858
end
5959

0 commit comments

Comments
 (0)