From 6e093eab4ced376aa70dadbf3c5d21296a94e8c5 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Mon, 9 Apr 2018 14:41:58 +0200 Subject: [PATCH 1/1] [SMPI] Added a FIXME for a weird hardcoded value --- src/instr/instr_paje_events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instr/instr_paje_events.cpp b/src/instr/instr_paje_events.cpp index c50abc0596..983265cca7 100644 --- a/src/instr/instr_paje_events.cpp +++ b/src/instr/instr_paje_events.cpp @@ -93,7 +93,7 @@ void LinkEvent::print() XBT_DEBUG("%s: event_type=%u, timestamp=%.*f", __func__, eventType_, TRACE_precision(), timestamp_); if (instr_fmt_type != instr_fmt_paje) return; - if (timestamp_ < 1e-12) + if (timestamp_ < 1e-12) // FIXME: Why is this hardcoded? What does it stand for? Use a constant variable! stream << eventType_ << " " << 0 << " " << getType()->get_id() << " " << getContainer()->get_id(); else stream << eventType_ << " " << timestamp_ << " " << getType()->get_id() << " " << getContainer()->get_id(); -- 2.20.1