HW2: A validator added and small changes
This commit is contained in:
@@ -50,7 +50,7 @@ function distbubletonic!(p, data)
|
||||
for i in 1:p
|
||||
sort!(view(data, i, :), rev = !ascending[i])
|
||||
end
|
||||
for step in 0:p-2
|
||||
for step in 0:p-1
|
||||
direction = [true for x = 1:p]
|
||||
partnerid = partner.(pid, step)
|
||||
activeids = active.(partnerid, p)
|
||||
|
||||
Reference in New Issue
Block a user