aboutsummaryrefslogtreecommitdiff
path: root/tests/YoloInferenceTest.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/YoloInferenceTest.hpp')
-rw-r--r--tests/YoloInferenceTest.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/YoloInferenceTest.hpp b/tests/YoloInferenceTest.hpp
index 98a9d2f106..922bcb8582 100644
--- a/tests/YoloInferenceTest.hpp
+++ b/tests/YoloInferenceTest.hpp
@@ -34,7 +34,7 @@ public:
{
using Boost3dArray = boost::multi_array<float, 3>;
- const std::vector<float>& output = this->GetOutputs()[0];
+ const std::vector<float>& output = boost::get<std::vector<float>>(this->GetOutputs()[0]);
BOOST_ASSERT(output.size() == YoloOutputSize);
constexpr Boost3dArray::index gridSize = 7;