fix debug assert compile
This commit is contained in:
parent
66160e9754
commit
b0894bfda3
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ bool is_clockwise(T const& ring)
|
||||||
{
|
{
|
||||||
double area = 0.0;
|
double area = 0.0;
|
||||||
std::size_t num_points = ring.size();
|
std::size_t num_points = ring.size();
|
||||||
assert(num_point > 2);
|
assert(num_points > 2);
|
||||||
double orig_x = ring[0].x;
|
double orig_x = ring[0].x;
|
||||||
double orig_y = ring[0].y;
|
double orig_y = ring[0].y;
|
||||||
for (std::size_t i = 0; i < num_points; ++i)
|
for (std::size_t i = 0; i < num_points; ++i)
|
||||||
|
|
Loading…
Reference in a new issue