forked from organicmaps/organicmaps
Merge pull request #4660 from ygorshenin/fix-hotels-classifier
[search] Decreased threshold for hotels.
This commit is contained in:
commit
d9d89de7f4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ bool HotelsClassifier::IsHotelResults() const
|
|||
{
|
||||
// Threshold used to activate hotels mode. Probably is too strict,
|
||||
// but we don't have statistics now.
|
||||
double const kThreshold = 0.95;
|
||||
double const kThreshold = 0.75;
|
||||
|
||||
return m_numResults == 0 ? false : m_numHotels >= kThreshold * m_numResults;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue