mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-07-04 18:18:13 +02:00
Choose first best result.
--HG-- branch : feature
This commit is contained in:
parent
f8d210e720
commit
f849d16018
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue