Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 6, 2016
1 parent 3ba3986 commit 99980be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgspoint.cpp
Expand Up @@ -706,7 +706,7 @@ void TestQgsPoint::vector()

// length
QCOMPARE( v1.length(), 0.0 );
QVERIFY( qgsDoubleNear( v2.length(), sqrt( 5 ), 0.000000001 ) );
QVERIFY( qgsDoubleNear( v2.length(), sqrt( 5.0 ), 0.000000001 ) );

// perpVector
QCOMPARE( QgsVector( 2, 3 ).perpVector().x(), -3.0 );
Expand Down

0 comments on commit 99980be

Please sign in to comment.