1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2017-05-16 12:59:40 +02:00
parent e0ad64a902
commit efa2b1c366
2 changed files with 1 additions and 2 deletions

View File

@ -166,7 +166,6 @@ Coordinates AlbersEqual::xy2ll(const QPointF &p) const
if (_n < 0) {
rho *= -1.0;
dy *= -1.0;
dx *= -1.0;
rho0_minus_dy *= -1.0;
}

View File

@ -279,7 +279,7 @@ bool OfflineMap::createProjection(const QString &datum,
bool OfflineMap::computeTransformation(const QList<ReferencePoint> &points)
{
Q_ASSERT(points.count() >= 2);
Q_ASSERT(points.size() >= 2);
Matrix c(3, 2);
c.zeroize();