Commit 91bb20da authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #268 from berak/patch-2

change round to cvRound
parents b6029dab 8247a7a0
...@@ -1267,7 +1267,7 @@ struct RoundingInvoker : ParallelLoopBody ...@@ -1267,7 +1267,7 @@ struct RoundingInvoker : ParallelLoopBody
{ {
for (int c = range.start; c < range.end; ++c) for (int c = range.start; c < range.end; ++c)
{ {
scale_map->at<float>(r,c) = (float) round( scale_map->at<float>(r,c) ); scale_map->at<float>(r,c) = (float) cvRound( scale_map->at<float>(r,c) );
} }
} }
int r; int r;
......
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