Merge pull request #72 from mkaravel/fix/graham_andrew

[strategies][agnostic] fix bug in Graham-Andrew strategy:
This commit is contained in:
Barend Gehrels
2014-06-30 20:51:11 +02:00

View File

@@ -323,7 +323,7 @@ private:
while (output_size >= 3)
{
rev_iterator rit = output.rbegin();
point_type const& last = *rit++;
point_type const last = *rit++;
point_type const& last2 = *rit++;
if (Factor * side::apply(*rit, last, last2) <= 0)