Choose first best result.

--HG--
branch : feature
This commit is contained in:
dismine 2015-01-16 21:33:18 +02:00
parent f8d210e720
commit f849d16018

View File

@ -69,7 +69,7 @@ BestResult::BestResult()
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void BestResult::NewResult(qint64 square, int i, int j, const QMatrix &matrix) void BestResult::NewResult(qint64 square, int i, int j, const QMatrix &matrix)
{ {
if (square <= resSquare && square > 0) if (square < resSquare && square > 0)
{ {
resI = i; resI = i;
resJ = j; resJ = j;