fixed fp problem

This commit is contained in:
Ilya Lavrenov 2014-01-30 05:48:15 +04:00
parent 6d64907f18
commit 1862dbc5ab

View File

@ -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";