@@ -262,7 +262,7 @@ int GDALGCPsToHomography(int nGCPCount, const GDAL_GCP *pasGCPList,
262
262
{
263
263
return FALSE ;
264
264
}
265
- if (abs (h_normalized (6 , 0 )) < 1.0e-15 )
265
+ if (std:: abs (h_normalized (6 , 0 )) < 1.0e-15 )
266
266
{
267
267
return FALSE ;
268
268
}
@@ -366,11 +366,11 @@ void GDALComposeHomographies(const double *padfH1, const double *padfH2,
366
366
* into a georeferenced (geo_x, geo_y) location.
367
367
* \code{.c}
368
368
* *pdfGeoX = (padfHomography[0] + dfPixel * padfHomography[1]
369
- * + dfLine * padfHomography[2]) /
369
+ * + dfLine * padfHomography[2]) /
370
370
* (padfHomography[6] + dfPixel * padfHomography[7]
371
371
* + dfLine * padfHomography[8]);
372
372
* *pdfGeoY = (padfHomography[3] + dfPixel * padfHomography[4]
373
- * + dfLine * padfHomography[5]) /
373
+ * + dfLine * padfHomography[5]) /
374
374
* (padfHomography[6] + dfPixel * padfHomography[7]
375
375
* + dfLine * padfHomography[8]);
376
376
* \endcode
@@ -391,7 +391,7 @@ int GDALApplyHomography(const double *padfHomography, double dfPixel,
391
391
{
392
392
double w = padfHomography[6 ] + dfPixel * padfHomography[7 ] +
393
393
dfLine * padfHomography[8 ];
394
- if (abs (w) < 1.0e-15 )
394
+ if (std:: abs (w) < 1.0e-15 )
395
395
{
396
396
return FALSE ;
397
397
}
@@ -570,7 +570,7 @@ int GDALHomographyTransform(void *pTransformArg, int bDstToSrc, int nPointCount,
570
570
for (int i = 0 ; i < nPointCount; i++)
571
571
{
572
572
double w = homography[6 ] + x[i] * homography[7 ] + y[i] * homography[8 ];
573
- if (abs (w) < 1.0e-15 )
573
+ if (std:: abs (w) < 1.0e-15 )
574
574
{
575
575
panSuccess[i] = FALSE ;
576
576
ret = FALSE ;
0 commit comments