diff options
Diffstat (limited to 'src/cpu_backend.rs')
-rw-r--r-- | src/cpu_backend.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu_backend.rs b/src/cpu_backend.rs index 0eb4270a..2c708389 100644 --- a/src/cpu_backend.rs +++ b/src/cpu_backend.rs @@ -128,7 +128,7 @@ impl CpuStorage { let lhs_batch_stride = &lhs_stride[..rank - 2]; let rhs_batch_stride = &rhs_stride[..rank - 2]; - if lhs_batch_stride != &[a_skip] || rhs_batch_stride != &[b_skip] { + if lhs_batch_stride != [a_skip] || rhs_batch_stride != [b_skip] { // Temporary error before we support abitrary striding. return Err(Error::UnexpectedStriding); } |