From c59448994631586a66f94ec7181faa2eb83ae3ce Mon Sep 17 00:00:00 2001 From: stevenj Date: Thu, 13 Nov 2008 12:08:06 -0500 Subject: [PATCH] yikes, bug fix in DIRECT that prevented convergence for Shekel-10 (DIRECT-L is not affected) darcs-hash:20081113170806-c8de0-77c0694921154f382921dca06507d02b39d2fe71.gz --- cdirect/cdirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdirect/cdirect.c b/cdirect/cdirect.c index a09b3f4..49d4836 100644 --- a/cdirect/cdirect.c +++ b/cdirect/cdirect.c @@ -371,7 +371,7 @@ static int convex_hull(rb_tree *t, double **hull, int allow_dups) do { /* include any duplicate points at (xmax,ymaxmin) */ hull[nhull++] = nmax->k; nmax = rb_tree_succ(nmax); - } while (nmax && nmax->k[0] == xmax && n->k[1] == ymaxmin); + } while (nmax && nmax->k[0] == xmax && nmax->k[1] == ymaxmin); else hull[nhull++] = nmax->k; -- 2.30.2