From 25fb55601bf3e6bff9559acdbdae78426ff17aa2 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Wed, 3 Jul 2024 12:10:31 +0300 Subject: [PATCH] Fixed narrowing conversion warning with MSVC compiler. --- modules/dnn/test/test_onnx_importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/test/test_onnx_importer.cpp b/modules/dnn/test/test_onnx_importer.cpp index 35ac0be56a..8855eb6439 100644 --- a/modules/dnn/test/test_onnx_importer.cpp +++ b/modules/dnn/test/test_onnx_importer.cpp @@ -2800,7 +2800,7 @@ TEST_P(Test_ONNX_nets, YOLOv9) float iou_threshold = 0.50; std::vector refClassIds{1, 16, 2}; // wrong class mapping for yolov9 - std::vector refScores{0.959274f, 0.901125, 0.559396f}; + std::vector refScores{0.959274f, 0.901125f, 0.559396f}; std::vector refBoxes{ Rect2d(106.255, 107.927, 472.497, 350.309),