Skip to content

Commit c4f74e1

Browse files
typo
1 parent 3a5f549 commit c4f74e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distr_test/tests/cdf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ fn truncated_normal() {
462462
let normal = statrs::distribution::Normal::new(0.0, 1.0).unwrap();
463463

464464
let z = normal.cdf(standard_upper) - normal.cdf(standard_lower);
465-
(normal.cdf(standard_x) - normal.cdf(standard_lower)) / Z
465+
(normal.cdf(standard_x) - normal.cdf(standard_lower)) / z
466466
}
467467
};
468468
test_continuous(seed as u64, dist, analytic);

0 commit comments

Comments
 (0)