From 8ad565d6ff0134450871837e3d8d7c357fbe402c Mon Sep 17 00:00:00 2001
From: NAUD Maxence <maxence.naud@cea.fr>
Date: Wed, 11 Oct 2023 12:33:54 +0000
Subject: [PATCH] [Fix] Changed the wrong %s

---
 src/scheduler/Scheduler.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/scheduler/Scheduler.cpp b/src/scheduler/Scheduler.cpp
index 6103703d5..cda5baedf 100644
--- a/src/scheduler/Scheduler.cpp
+++ b/src/scheduler/Scheduler.cpp
@@ -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;
-- 
GitLab