diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2020-03-03 21:25:56 -0800 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2020-03-03 21:25:56 -0800 |
commit | 3ece17f201686342e8aff90148f360245788b234 (patch) | |
tree | a1deba5c1b09ecdc56d2c94b880ef8767289371d /Source/Random.h | |
parent | e77cfa1596f996cc50c1601ee29891a7fb7eb62d (diff) | |
download | witness-tutorializer-3ece17f201686342e8aff90148f360245788b234.tar.gz witness-tutorializer-3ece17f201686342e8aff90148f360245788b234.tar.bz2 witness-tutorializer-3ece17f201686342e8aff90148f360245788b234.zip |
add support for puzzle serialization
Diffstat (limited to 'Source/Random.h')
-rw-r--r-- | Source/Random.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Random.h b/Source/Random.h index 36b6dc1..e3737ed 100644 --- a/Source/Random.h +++ b/Source/Random.h | |||
@@ -17,6 +17,7 @@ public: | |||
17 | set[index] = set[setSize-1]; | 17 | set[index] = set[setSize-1]; |
18 | setSize--; | 18 | setSize--; |
19 | } | 19 | } |
20 | assert(selection.size() == count); | ||
20 | return selection; | 21 | return selection; |
21 | } | 22 | } |
22 | 23 | ||