Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
put default surf precision value to 1e-9 instead of 1e-5.
authorAugustin Degomme <adegomme@gmail.com>
Tue, 18 Feb 2020 23:53:16 +0000 (00:53 +0100)
committerAugustin Degomme <adegomme@gmail.com>
Tue, 18 Feb 2020 23:53:16 +0000 (00:53 +0100)
This was causing some hard to understand bugs for users with high bandwidth tests, and is actually not that expensive.

src/kernel/lmm/maxmin.cpp

index f36f3ca..08dd3ef 100644 (file)
@@ -9,7 +9,7 @@
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_maxmin, surf, "Logging specific to SURF (maxmin)");
 
 double sg_maxmin_precision = 0.00001; /* Change this with --cfg=maxmin/precision:VALUE */
-double sg_surf_precision   = 0.00001; /* Change this with --cfg=surf/precision:VALUE */
+double sg_surf_precision   = 0.000000001; /* Change this with --cfg=surf/precision:VALUE */
 int sg_concurrency_limit   = -1;      /* Change this with --cfg=maxmin/concurrency-limit:VALUE */
 
 namespace simgrid {