From: stevenj Date: Thu, 26 May 2011 17:42:13 +0000 (-0400) Subject: report correct count in test program X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9892255602497fa652839db927099b9406894612;p=nlopt.git report correct count in test program darcs-hash:20110526174213-c8de0-47ec8a3c4bdcd70ffbb0c68a58ef32a4ea8153a3.gz --- diff --git a/test/testopt.cpp b/test/testopt.cpp index 124798f..cf944c0 100644 --- a/test/testopt.cpp +++ b/test/testopt.cpp @@ -214,6 +214,7 @@ static int test_function(int ifunc) } } + testfuncs_counter = 0; ret = nlopt_minimize(algorithm, func.n, bounds_wrap_func, &bw, lb, ub,