Skip to content

Commit 885bd2e

Browse files
committed
fix windows build
1 parent 5d7b3f2 commit 885bd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgis.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ inline bool doubleNearSig( double a, double b, int significantDigits = 10 )
169169
double br = frexp( b, &bexp );
170170

171171
return aexp == bexp &&
172-
round( ar * pow( 10, significantDigits ) ) == round( br * pow( 10, significantDigits ) ) ;
172+
ceil( ar * pow( 10.0, significantDigits ) ) == ceil( br * pow( 10.0, significantDigits ) ) ;
173173
}
174174

175175
/** Wkt string that represents a geographic coord sys

0 commit comments

Comments
 (0)