From: Arnaud Giersch Date: Thu, 1 Mar 2012 14:31:52 +0000 (+0100) Subject: Make opt::exit_on_convergence an unsigned int. X-Git-Tag: exp_20120308~16 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/24d1e52d7fe26616e3bee87041acffe889aa4adc Make opt::exit_on_convergence an unsigned int. --- diff --git a/options.cpp b/options.cpp index 25d7642..0ed04ac 100644 --- a/options.cpp +++ b/options.cpp @@ -80,7 +80,7 @@ namespace opt { unsigned lb_maxiter = 0; unsigned comp_maxiter = 0; double time_limit = 0; - int exit_on_convergence = 0; + unsigned exit_on_convergence = 0; bool exit_on_close = true; // Named parameters lists diff --git a/options.h b/options.h index 5b47022..f9baa88 100644 --- a/options.h +++ b/options.h @@ -63,7 +63,7 @@ namespace opt { extern unsigned lb_maxiter; extern unsigned comp_maxiter; extern double time_limit; - extern int exit_on_convergence; + extern unsigned exit_on_convergence; extern bool exit_on_close; // Named parameters lists