From c19fd6af14b7f9844567909134c102f9ff0e814b Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Thu, 18 Jul 2019 15:42:47 +0200 Subject: [PATCH] Changed how default value is now _ for tapes --- transition_machine/src/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transition_machine/src/Config.cpp b/transition_machine/src/Config.cpp index 986aaea..69c3b50 100644 --- a/transition_machine/src/Config.cpp +++ b/transition_machine/src/Config.cpp @@ -202,7 +202,7 @@ void Config::printAsOutput(FILE * output, int dataIndex, int realIndex) for (unsigned int j = 0; j < tapes.size(); j++) { if(bd.mustPrintLine(j)) - toPrint.emplace_back(tapes[j][dataIndex-head].empty() ? "0" : tapes[j][dataIndex-head].c_str(), tapes[j].getEntropy(dataIndex-head)); + toPrint.emplace_back(tapes[j][dataIndex-head].empty() ? "_" : tapes[j][dataIndex-head].c_str(), tapes[j].getEntropy(dataIndex-head)); } ProgramOutput::instance.addLine(toPrint, realIndex); -- GitLab