From 06b0d2707f37e788c6d54a8fb49ceb4f9ec8ceba Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 19 Jan 2011 11:58:01 +0100 Subject: [PATCH] Change default values. exit_on_close is now enabled by default, and no limits are given for stopping the simulation. --- options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/options.cpp b/options.cpp index 89f8b18..fd9da4e 100644 --- a/options.cpp +++ b/options.cpp @@ -53,11 +53,10 @@ namespace opt { double min_iter_duration = 1.0; // Parameters for the end of the simulation - // fixme: find better defaults - unsigned lb_maxiter = 10; + unsigned lb_maxiter = 0; unsigned comp_maxiter = 0; double time_limit = 0; - bool exit_on_close = false; + bool exit_on_close = true; // Named parameters lists loba_algorithms_type loba_algorithms; -- 2.39.5