Tune amount column find

This commit is contained in:
Sergey Chebotar 2023-06-06 08:17:52 +03:00
parent 0e15ad7cd4
commit 8b125e475e

View File

@ -142,15 +142,13 @@ public class GuessReader : IReader
continue;
}
if (++successCounter > 1)
if (++successCounter > 3)
{
return true;
}
}
return (column.Rows.Count > 1 && successCounter > 0)
|| successCounter > 1;
}
return successCounter > 1;
}
private Dictionary<Product, double> GetDictionaryFromColumns(Range productColumn, Range amountColumn)