From 49f7666180800a60794b56ae7feade3b0d3f3be2 Mon Sep 17 00:00:00 2001 From: Bruno Donassolo Date: Wed, 23 Feb 2022 11:15:42 +0100 Subject: [PATCH] Fix: default rate (bound) for comms is -1 not 0 --- src/kernel/activity/CommImpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/activity/CommImpl.hpp b/src/kernel/activity/CommImpl.hpp index bb3c8126d5..71f44a7cb1 100644 --- a/src/kernel/activity/CommImpl.hpp +++ b/src/kernel/activity/CommImpl.hpp @@ -22,7 +22,7 @@ class XBT_PUBLIC CommImpl : public ActivityImpl_T { static void (*copy_data_callback_)(CommImpl*, void*, size_t); - double rate_ = 0.0; + double rate_ = -1.0; double size_ = 0.0; bool detached_ = false; /* If detached or not */ bool copied_ = false; /* whether the data were already copied */ -- 2.20.1