Skip to content
Permalink
Browse files

fix double/int comparison

  • Loading branch information
3nids committed Feb 19, 2018
1 parent 3f9963e commit a7ca742d30052da7b513d2915ffc95adbfdefe51
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgspointlocator.cpp
@@ -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 );

0 comments on commit a7ca742

Please sign in to comment.
You can’t perform that action at this time.