提交 b55f4e74 编写于 作者: S stevenj

whoops!

darcs-hash:20070829052615-c8de0-fa4b9d4c70043d41c0c6f2325ea01012c299bb50.gz
上级 6d887584
......@@ -267,7 +267,7 @@ static int convex_hull(rb_tree *t, double **hull)
/* performance hack: most of the points in DIRECT lie along
vertical lines at a few x values, and we can exploit this */
if (nhull && k[0] == hull[nhull - 1][0]) { /* x == previous x */
if (k[1] == hull[nhull - 1][1]) {
if (k[1] > hull[nhull - 1][1]) {
double kshift[2];
/* because of the round to float in rect_diameter, above,
it shouldn't be possible for two diameters (x values)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册