mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
Fix, wrong assert
This commit is contained in:
@@ -122,7 +122,7 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
return calculateEuclideanDistanceSquared(a, coordinate) < calculateEuclideanDistanceSquared(b, coordinate);
|
return calculateEuclideanDistanceSquared(a, coordinate) < calculateEuclideanDistanceSquared(b, coordinate);
|
||||||
});
|
});
|
||||||
Q_ASSERT_X(closest.size() <= number, Q_FUNC_INFO, "size exceeded");
|
Q_ASSERT_X(closest.size() > number, Q_FUNC_INFO, "size exceeded");
|
||||||
return closest;
|
return closest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user