Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix double/int comparison
  • Loading branch information
3nids committed Feb 19, 2018
1 parent 3f9963e commit a7ca742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgspointlocator.cpp
Expand Up @@ -144,7 +144,7 @@ class TestQgsPointLocator : public QObject
QCOMPARE( m2.layer(), mVL );
QCOMPARE( m2.featureId(), ( QgsFeatureId )1 );
QCOMPARE( m2.point(), QgsPointXY( 0.9, 0.9 ) );
QCOMPARE( m2.distance(), 0 );
QCOMPARE( m2.distance(), 0.0 );

QgsPointXY pt3( 1.1, 1.1 );
QgsPointLocator::Match m3 = loc.nearestArea( pt3, 999 );
Expand Down

0 comments on commit a7ca742

Please sign in to comment.