Commit 8247a7a0 authored by berak's avatar berak

change round to cvRound

vs2010 breaks
parent 03870af3
......@@ -1267,7 +1267,7 @@ struct RoundingInvoker : ParallelLoopBody
{
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;
......
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