Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgis.h
2 changes: 1 addition & 1 deletion src/core/qgis.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ inline bool doubleNearSig( double a, double b, int significantDigits = 10 )
double br = frexp( b, &bexp );

return aexp == bexp &&
round( ar * pow( 10, significantDigits ) ) == round( br * pow( 10, significantDigits ) ) ;
ceil( ar * pow( 10.0, significantDigits ) ) == ceil( br * pow( 10.0, significantDigits ) ) ;
}

/** Wkt string that represents a geographic coord sys
Expand Down