We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a5f549 commit c4f74e1Copy full SHA for c4f74e1
distr_test/tests/cdf.rs
@@ -462,7 +462,7 @@ fn truncated_normal() {
462
let normal = statrs::distribution::Normal::new(0.0, 1.0).unwrap();
463
464
let z = normal.cdf(standard_upper) - normal.cdf(standard_lower);
465
- (normal.cdf(standard_x) - normal.cdf(standard_lower)) / Z
+ (normal.cdf(standard_x) - normal.cdf(standard_lower)) / z
466
}
467
};
468
test_continuous(seed as u64, dist, analytic);
0 commit comments