Commit 1862dbc5 authored by Ilya Lavrenov's avatar Ilya Lavrenov

fixed fp problem

parent 6d64907f
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment