提交 dcf98338 编写于 作者: N Nathan Pahucki 提交者: Gines

Fix bug in KeepTopNPeople (#913)

上级 dce09707
......@@ -17,7 +17,7 @@ namespace op
try
{
// Remove people if #people > mNumberPeopleMax
if (peopleArray.getVolume() > (unsigned int)mNumberPeopleMax && mNumberPeopleMax > 0)
if (peopleArray.getSize(0) > (unsigned int)mNumberPeopleMax && mNumberPeopleMax > 0)
{
// Sanity checks
if (poseScores.getVolume() != (unsigned int) poseScores.getSize(0))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册