mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/proba] Student parameter maximum is 200
This commit is contained in:
@@ -23,7 +23,7 @@ float StudentDistribution::evaluateAtAbscissa(float x) const {
|
||||
}
|
||||
|
||||
bool StudentDistribution::authorizedValueAtIndex(float x, int index) const {
|
||||
return x >= FLT_EPSILON;
|
||||
return x >= FLT_EPSILON && x <= 200.0; // We cannot draw the curve for x > 200 (coefficient() is too small)
|
||||
}
|
||||
|
||||
double StudentDistribution::cumulativeDistributiveFunctionAtAbscissa(double x) const {
|
||||
|
||||
Reference in New Issue
Block a user