From 1862dbc5ab95762ecfdf914e01ba784e2674d0f1 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Thu, 30 Jan 2014 05:48:15 +0400 Subject: [PATCH] fixed fp problem --- modules/imgproc/src/filter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/imgproc/src/filter.cpp b/modules/imgproc/src/filter.cpp index 9a4a085d73..c3a096619e 100644 --- a/modules/imgproc/src/filter.cpp +++ b/modules/imgproc/src/filter.cpp @@ -3330,6 +3330,7 @@ static std::string kerToStr(const Mat & k) } else if (depth == CV_32F) { + stream.setf(std::ios_base::showpoint); for (int i = 0; i < width; ++i) stream << data[i] << "f,"; stream << data[width] << "f";