From 3b250d6e9ce244b34a28847df78b2512567ff514 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Sat, 11 Oct 2014 22:57:22 +0400 Subject: [PATCH] this is trivial change; the main change is in opencv_extra - added regression data for perf tests --- modules/calib3d/perf/perf_pnp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/calib3d/perf/perf_pnp.cpp b/modules/calib3d/perf/perf_pnp.cpp index 7db2ddce76..55584f8195 100644 --- a/modules/calib3d/perf/perf_pnp.cpp +++ b/modules/calib3d/perf/perf_pnp.cpp @@ -79,8 +79,8 @@ PERF_TEST_P(PointsNum_Algo, solvePnPSmallPoints, Mat distortion = Mat::zeros(5, 1, CV_32FC1); Mat intrinsics = Mat::eye(3, 3, CV_32FC1); - intrinsics.at (0, 0) = 400.0; - intrinsics.at (1, 1) = 400.0; + intrinsics.at (0, 0) = 400.0f; + intrinsics.at (1, 1) = 400.0f; intrinsics.at (0, 2) = 640 / 2; intrinsics.at (1, 2) = 480 / 2;