Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix: default rate (bound) for comms is -1 not 0
authorBruno Donassolo <bruno.donassolo@inria.fr>
Wed, 23 Feb 2022 10:15:42 +0000 (11:15 +0100)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 7 Mar 2022 09:23:25 +0000 (10:23 +0100)
src/kernel/activity/CommImpl.hpp

index bb3c812..71f44a7 100644 (file)
@@ -22,7 +22,7 @@ class XBT_PUBLIC CommImpl : public ActivityImpl_T<CommImpl> {
 
   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 */