diff options
Diffstat (limited to 'changes/bug6538')
-rw-r--r-- | changes/bug6538 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug6538 b/changes/bug6538 index fc9e583d5..03c168b60 100644 --- a/changes/bug6538 +++ b/changes/bug6538 @@ -10,3 +10,7 @@ than it ran through the part of the loop before it had made its choice. Fix for bug 6538. + o Code simplifications and refactoring: + - Move the core of our "choose a weighted element at random" logic + into its own function, and give it unit tests. Now the logic is + testable, and a little less fragile too. |