point: avoid signedness warnings for furthest point
This commit is contained in:
parent
ced76721ac
commit
87dda1c568
@ -48,8 +48,8 @@ util::furthest (util::view<const util::point<S,T>*> src)
|
|||||||
{
|
{
|
||||||
CHECK_GE (src.size (), 2u);
|
CHECK_GE (src.size (), 2u);
|
||||||
|
|
||||||
auto a = 0;
|
size_t a = 0;
|
||||||
auto b = 1;
|
size_t b = 1;
|
||||||
auto d = distance2 (src[a],src[b]);
|
auto d = distance2 (src[a],src[b]);
|
||||||
|
|
||||||
for (size_t i = 0; i < src.size (); ++i) {
|
for (size_t i = 0; i < src.size (); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user