Skip to content

Commit 0f5812a

Browse files
committed
specify type
1 parent 59ed94e commit 0f5812a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/examples/mlmodel/example_audio_classification_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ int main(int argc, char* argv[]) try {
381381
});
382382

383383
// Print out the top 5 (or fewer) label/score pairs.
384-
for (size_t i = 0; i != std::min(5UL, scored_labels.size()); ++i) {
384+
for (size_t i = 0; i != std::min<std::size_t>(5UL, scored_labels.size()); ++i) {
385385
// TODO: Avoid hardcoding the width here.
386386
VIAM_SDK_LOG(info) << boost::format("%1%: %2% %|40t|%3%\n") % i %
387387
*scored_labels[i].label % scored_labels[i].score;

0 commit comments

Comments
 (0)