Skip to content

Commit 4a4b489

Browse files
Fix assertion
1 parent 63abed5 commit 4a4b489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/histogram/strategies.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ mod auto_tests {
570570

571571
#[test]
572572
fn zero_iqr_is_handled_by_sturged() {
573-
assert!(Auto::from_array(&array![-20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20]).is_err());
573+
assert!(Auto::from_array(&array![-20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20]).is_ok());
574574
}
575575

576576
#[test]

0 commit comments

Comments
 (0)