From 800f656402740948a498023202cc597f96cc140b Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Mon, 14 Aug 2017 08:26:06 +0900 Subject: [PATCH] suppress warning message --- modules/calib3d/src/calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/src/calibration.cpp b/modules/calib3d/src/calibration.cpp index 0e2b9042db..c71eb93c9e 100644 --- a/modules/calib3d/src/calibration.cpp +++ b/modules/calib3d/src/calibration.cpp @@ -2758,7 +2758,7 @@ void cv::reprojectImageTo3D( InputArray _disparity, __3dImage.create(disparity.size(), CV_MAKETYPE(dtype, 3)); Mat _3dImage = __3dImage.getMat(); - const double bigZ = 10000.; + const float bigZ = 10000.f; Matx44d _Q; Q.convertTo(_Q, CV_64F);