Skip to content

Conversation

@ragusa
Copy link
Contributor

@ragusa ragusa commented Jun 3, 2025

Guard MakeGridFaceHistogram against empty input

@ragusa ragusa requested a review from andrsd June 4, 2025 00:05
"with no faces.";
return std::make_shared<GridFaceHistogram>(face_categories_list);
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want the shortcut path for the case when face_size_histogram, you could even move this before the stable_sort...

It would be more correcter :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants