Skip to content

Commit 0ddc806

Browse files
committed
fix initializeChromosome() debug output
1 parent 207fd8e commit 0ddc806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/species_eidos.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,13 @@ EidosValue_SP Species::ExecuteContextFunction_initializeChromosome(const std::st
327327
{
328328
std::ostream &output_stream = p_interpreter.ExecutionOutputStream();
329329

330-
output_stream << "initializeChromosome(" << id << ", " << start << ", " << length << ", " << type_string;
330+
output_stream << "initializeChromosome(" << id << ", " << start << ", " << length << ", '" << type_string << "'";
331331
if (symbol_value->Type() == EidosValueType::kValueString)
332332
output_stream << ", symbol='" << symbol << "'";
333333
if (name.length())
334334
output_stream << ", name='" << name << "'";
335335
if (mutrun_count != 0)
336-
output_stream << ", mutationRuns='" << mutrun_count << "'";
336+
output_stream << ", mutationRuns=" << mutrun_count;
337337
output_stream << ");" << std::endl;
338338
}
339339

0 commit comments

Comments
 (0)