point: avoid signedness warnings for furthest point

This commit is contained in:
Danny Robson 2018-04-23 15:40:51 +10:00
parent ced76721ac
commit 87dda1c568

View File

@ -48,8 +48,8 @@ util::furthest (util::view<const util::point<S,T>*> src)
{
CHECK_GE (src.size (), 2u);
auto a = 0;
auto b = 1;
size_t a = 0;
size_t b = 1;
auto d = distance2 (src[a],src[b]);
for (size_t i = 0; i < src.size (); ++i) {