Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/utsaslab/crashmonkey into…
Browse files Browse the repository at this point in the history
… newfeature
  • Loading branch information
SonikaG committed Oct 13, 2017
2 parents b101251 + fd86bc5 commit b1dd1a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/permuter/RandomPermuter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ void RandomPermuter::init_data(vector<epoch> *data) {

bool RandomPermuter::gen_one_state(vector<epoch_op>& res,
PermuteTestResult &log_data) {
// Return if there are no ops to permute and generate a crash state
if (res.size() == 0) {
return false;
}
unsigned int total_elements = 0;
// Find how many elements we will be returning (randomly determined).
uniform_int_distribution<unsigned int> permute_epochs(1, GetEpochs()->size());
Expand Down

0 comments on commit b1dd1a0

Please sign in to comment.