mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
Merge "[apps/probability] Fix edge case in uniform law"
This commit is contained in:
@@ -96,7 +96,7 @@ void UniformLaw::setParameterAtIndex(float f, int index) {
|
||||
}
|
||||
|
||||
float UniformLaw::cumulativeDistributiveFunctionAtAbscissa(float x) const {
|
||||
if (x < m_parameter1) {
|
||||
if (x <= m_parameter1) {
|
||||
return 0.0f;
|
||||
}
|
||||
if (x < m_parameter2) {
|
||||
|
||||
Reference in New Issue
Block a user