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 682d405 commit 077ef39Copy full SHA for 077ef39
src/algorithm/dyadic/combine.rs
@@ -508,15 +508,14 @@ impl<T: ArrayValue> Array<T> {
508
if self.rank() <= other.rank() || self.rank() - other.rank() > 1 {
509
return Err(C::fill_error(ctx.error(format!(
510
"Cannot join rank {} array with rank {} array{e}",
511
- other.rank(),
512
- self.rank()
+ self.rank(),
+ other.rank()
513
))));
514
}
515
if self.shape[1..] != other.shape {
516
517
"Cannot join arrays of shapes {} and {}{e}",
518
- other.shape,
519
- FormatShape(&self.shape[1..]),
+ self.shape, other.shape
520
521
522
0 commit comments