Skip to content

Commit

Permalink
Revert changes in Probabilistic folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoli-al committed Oct 18, 2024
1 parent 5e306b4 commit 91cd717
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ public virtual bool GetNextOperation(AsyncOperation current, IEnumerable<AsyncOp
return false;
}

var idx = 0;
if (enabledOperations.Count > 1) {
idx = RandomValueGenerator.Next(enabledOperations.Count);
}

var idx = RandomValueGenerator.Next(enabledOperations.Count);
next = enabledOperations[idx];

ScheduledSteps++;
Expand Down

0 comments on commit 91cd717

Please sign in to comment.