Skip to content

Commit 28fc9d0

Browse files
committedSep 27, 2012
Merge pull request #251 from sdikiy/work
fix windows build
2 parents 2dfa77c + 885bd2e commit 28fc9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgis.h

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.