Skip to content

Commit 373fa84

Browse files
committed
Fixup tests/iterator_chunks.rs
1 parent 7bfe2fc commit 373fa84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/iterator_chunks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn chunks_ok_size() {
5050
let mut c = 0;
5151
for elt in a.whole_chunks(vec![2, 1]) {
5252
assert!(elt.iter().all(|&x| x == 1.));
53-
assert_eq!(elt.dim(), vec![2, 1]);
53+
assert_eq!(elt.shape(), &[2, 1]);
5454
c += 1;
5555
}
5656
assert_eq!(c, 3);

0 commit comments

Comments
 (0)