mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
fixed fp problem
This commit is contained in:
parent
6d64907f18
commit
1862dbc5ab
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user