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 7e75107 commit d257662Copy full SHA for d257662
tests/stacking.rs
@@ -20,7 +20,7 @@ fn concatenating() {
20
[2., 9.]]));
21
22
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.]]));
+ assert_eq!(d, aview2(&[[2.], [2.], [9.], [9.]]));
24
25
let res = ndarray::concatenate(Axis(1), &[a.view(), c.view()]);
26
assert_eq!(res.unwrap_err().kind(), ErrorKind::IncompatibleShape);
0 commit comments