From: Bruno Donassolo Date: Wed, 23 Feb 2022 10:15:42 +0000 (+0100) Subject: Fix: default rate (bound) for comms is -1 not 0 X-Git-Tag: v3.31~205^2~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/49f7666180800a60794b56ae7feade3b0d3f3be2 Fix: default rate (bound) for comms is -1 not 0 --- 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 */