core: (fixes #922) Remove check of EmpiricalRandomVariable pairs ending in exactly 1.0

This commit is contained in:
Eduardo Almeida
2023-09-20 02:51:33 +01:00
parent 50fb216380
commit 86cc890d60
3 changed files with 2 additions and 6 deletions

View File

@@ -1735,12 +1735,6 @@ EmpiricalRandomVariable::Validate()
<< lastCdfPair->first << ", Value: " << lastCdfPair->second);
}
// Check if last CDF ends with 1.0
if (m_empCdf.rbegin()->first != 1.0)
{
NS_FATAL_ERROR("CDF does not cover the whole distribution");
}
m_validated = true;
}