Use the maximum test-age for subjects past that age
This commit is contained in:
parent
97192b6190
commit
c044bebece
3 changed files with 9 additions and 9 deletions
|
@ -20,7 +20,7 @@ unsigned int PRMap::lookup(const Age &age, const unsigned int &points)
|
|||
|
||||
if (m_ages.back() < age)
|
||||
{
|
||||
return m_ages.size() - 1;
|
||||
return m_ages.size() - 2;
|
||||
}
|
||||
|
||||
for (size_t index = 1; index < m_ages.size(); ++index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue