Skip to content
Snippets Groups Projects
Commit 8ad565d6 authored by Maxence Naud's avatar Maxence Naud
Browse files

[Fix] Changed the wrong %s

parent 0e22e1f2
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ void Aidge::SequentialScheduler::generateScheduling(bool verbose) {
if (verbose) {
printf("\t- consumer: "
"\x1b[1;37m"
"%Q"
"%s"
"\x1b[0m"
"\n\t\tR/C:\t",
(consumer->type() + "_" + std::to_string(reinterpret_cast<uintptr_t>(consumer.get()))).c_str());
......@@ -207,7 +207,7 @@ void Aidge::SequentialScheduler::forward(bool forwardDims, bool verbose) {
void Aidge::SequentialScheduler::saveSchedulingDiagram(const std::string& fileName) const {
FILE* fp = std::fopen((fileName + ".mmd").c_str(), "w");
std::fprintf(fp, "gantt\ndateFormat x\naxisFormat %%s ms\n\n");
std::fprintf(fp, "gantt\ndateFormat x\naxisFormat %%Q ms\n\n");
if (!mScheduling.empty()) {
const auto globalStart = mScheduling[0].start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment