diff options
Diffstat (limited to 'boost/geometry/algorithms/within.hpp')
-rw-r--r-- | boost/geometry/algorithms/within.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/geometry/algorithms/within.hpp b/boost/geometry/algorithms/within.hpp index 0e0cb68d53..f1f0993d77 100644 --- a/boost/geometry/algorithms/within.hpp +++ b/boost/geometry/algorithms/within.hpp @@ -65,7 +65,7 @@ struct point_in_ring static inline int apply(Point const& point, Ring const& ring, Strategy const& strategy) { - if (boost::size(ring) + if (int(boost::size(ring)) < core_detail::closure::minimum_ring_size<Closure>::value) { return -1; |