Skip to content

Commit b103515

Browse files
blussjturner314
andcommitted
stacking: Update concatenate test
Co-authored-by: Jim Turner <[email protected]>
1 parent 8d44bbc commit b103515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/stacking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn concatenating() {
2020
[2., 9.]]));
2121

2222
let d = concatenate![Axis(0), a.row(0).insert_axis(Axis(1)), aview1(&[9., 9.]).insert_axis(Axis(1))];
23-
assert_eq!(d.t(), aview2(&[[2., 2., 9., 9.]]));
23+
assert_eq!(d, aview2(&[[2.], [2.], [9.], [9.]]));
2424

2525
let res = ndarray::concatenate(Axis(1), &[a.view(), c.view()]);
2626
assert_eq!(res.unwrap_err().kind(), ErrorKind::IncompatibleShape);

0 commit comments

Comments
 (0)