@@ -1213,7 +1213,7 @@ function generic_trimatmul!(C::StridedMatrix{T}, uploc, isunitc, tfun::Function,
1213
1213
end
1214
1214
end
1215
1215
function generic_mattrimul! (C:: StridedMatrix{T} , uploc, isunitc, tfun:: Function , A:: AbstractMatrix{T} , B:: StridedMatrix{T} ) where {T<: BlasFloat }
1216
- if stride (C,1 ) == stride (A ,1 ) == 1
1216
+ if stride (C,1 ) == stride (B ,1 ) == 1
1217
1217
BLAS. trmm! (' R' , uploc, tfun === identity ? ' N' : tfun === transpose ? ' T' : ' C' , isunitc, one (T), B, C === A ? C : copyto! (C, A))
1218
1218
else # incompatible with LAPACK
1219
1219
@invoke generic_mattrimul! (C:: AbstractMatrix , uploc, isunitc, tfun:: Function , A:: AbstractMatrix , B:: AbstractMatrix )
@@ -1228,7 +1228,7 @@ function generic_trimatdiv!(C::StridedVecOrMat{T}, uploc, isunitc, tfun::Functio
1228
1228
end
1229
1229
end
1230
1230
function generic_mattridiv! (C:: StridedMatrix{T} , uploc, isunitc, tfun:: Function , A:: AbstractMatrix{T} , B:: StridedMatrix{T} ) where {T<: BlasFloat }
1231
- if stride (C,1 ) == stride (A ,1 ) == 1
1231
+ if stride (C,1 ) == stride (B ,1 ) == 1
1232
1232
BLAS. trsm! (' R' , uploc, tfun === identity ? ' N' : tfun === transpose ? ' T' : ' C' , isunitc, one (T), B, C === A ? C : copyto! (C, A))
1233
1233
else # incompatible with LAPACK
1234
1234
@invoke generic_mattridiv! (C:: AbstractMatrix , uploc, isunitc, tfun:: Function , A:: AbstractMatrix , B:: AbstractMatrix )
0 commit comments