chiark / gitweb /
report correct count in test program
[nlopt.git] / test / testopt.cpp
index 124798f753f5a9c7acb6b47944fde00cf3912e3e..cf944c04dcfa780c335e16fc2b07c5a9b15b8c83 100644 (file)
@@ -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,