Skip to content

Commit 0507e16

Browse files
author
Patrick Snape
committed
Remove the round method
This was already fixed here: patricksnape@8247a7a Now uses cvround
1 parent c8986b1 commit 0507e16

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

modules/xfeatures2d/src/daisy.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,6 @@
5353
#include <fstream>
5454
#include <stdlib.h>
5555

56-
#ifdef _MSC_VER
57-
#if (_MSC_VER <= 1700)
58-
/* This function rounds x to the nearest integer, but rounds halfway cases away from zero. */
59-
static inline double round(double x)
60-
{
61-
if (x < 0.0)
62-
return ceil(x - 0.5);
63-
else
64-
return floor(x + 0.5);
65-
}
66-
#endif
67-
#endif
68-
6956
namespace cv
7057
{
7158
namespace xfeatures2d

0 commit comments

Comments
 (0)