Skip to content

Commit a5fe624

Browse files
committed
FIX: Code formatting for gemv
1 parent b101a27 commit a5fe624

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/linalg/impl_linalg.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,12 @@ pub fn general_mat_vec_mul<A, S1, S2, S3>(alpha: A,
588588
{
589589
let a_trans = CblasNoTrans;
590590
let a_stride = match layout {
591-
CBLAS_LAYOUT::CblasRowMajor => a.strides()[0].max(k as isize) as blas_index,
592-
CBLAS_LAYOUT::CblasColMajor => a.strides()[1].max(m as isize) as blas_index,
591+
CBLAS_LAYOUT::CblasRowMajor => {
592+
a.strides()[0].max(k as isize) as blas_index
593+
}
594+
CBLAS_LAYOUT::CblasColMajor => {
595+
a.strides()[1].max(m as isize) as blas_index
596+
}
593597
};
594598

595599
let x_stride = x.strides()[0] as blas_index;

0 commit comments

Comments
 (0)