chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f480f6d
)
yikes, bug fix in DIRECT that prevented convergence for Shekel-10 (DIRECT-L is not...
author
stevenj
<stevenj@alum.mit.edu>
Thu, 13 Nov 2008 17:08:06 +0000
(12:08 -0500)
committer
stevenj
<stevenj@alum.mit.edu>
Thu, 13 Nov 2008 17:08:06 +0000
(12:08 -0500)
darcs-hash:
20081113170806
-c8de0-
77c0694921154f382921dca06507d02b39d2fe71
.gz
cdirect/cdirect.c
patch
|
blob
|
history
diff --git
a/cdirect/cdirect.c
b/cdirect/cdirect.c
index a09b3f47824c24215701aa0b669fb2a7e933d18a..49d4836173c11b0101ccc4873fb835e0ba9bfafb 100644
(file)
--- 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 && n
max
->k[1] == ymaxmin);
else
hull[nhull++] = nmax->k;