ref: 8dc78bb71b7970c5fcc466a6138e0eb3dbc0796d
parent: 87d329f062aba9828067372b557a7dce635aef99
author: Anthony House <tuffant21@aim.com>
date: Sat Nov 24 10:08:05 EST 2018
trying to find the bug
--- a/mutate.c
+++ b/mutate.c
@@ -22,8 +22,10 @@
// }
// else
// {
+dolog("mut_int \'before\' round %d, value: %d", *round, *in_val);
(*in_val) << (rand() % (4 + 1 - 0) + 0);
(*in_val) |= (rand() % (15 + 1 - 0) + 0);
+dolog("mut_int \'after\' round %d, value: %d", *round, *in_val);
// }
}
@@ -89,8 +91,10 @@
// }
// else
// {
+dolog("mut_int \'before\' round %d, value: %d", *round, *in_val);
(*in_val) << (rand() % (4 + 1 - 0) + 0);
(*in_val) |= (rand() % (15 + 1 - 0) + 0);
+dolog("mut_int \'after\' round %d, value: %d", *round, *in_val);
// }
}