Increase kMaxInitializeDepth and remove annoying assert
diff --git a/src/mutator.cc b/src/mutator.cc
index 90db5fb..17b3a78 100644
--- a/src/mutator.cc
+++ b/src/mutator.cc
@@ -37,7 +37,7 @@
namespace {
-const size_t kMaxInitializeDepth = 32;
+const size_t kMaxInitializeDepth = 100;
const uint64_t kDefaultMutateWeight = 1000000;
enum class Mutation {
@@ -583,9 +583,6 @@
void Mutator::InitializeMessage(Message* message, size_t max_depth) {
assert(keep_initialized_);
- // It's pointless but possible to have infinite recursion of required
- // messages.
- assert(max_depth);
const Descriptor* descriptor = message->GetDescriptor();
const Reflection* reflection = message->GetReflection();
for (int i = 0; i < descriptor->field_count(); ++i) {