Skip to content

Commit 1f866ae

Browse files
authored
Only adjoin when input is complex
1 parent 1a0bdd0 commit 1f866ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gemm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ for (gemm, elt) in gemm_datatype_mappings
3535
beta::$(elt), C::Ptr{$elt})
3636
# Convert our compile-time transpose marker to a char for BLAS
3737
convtrans(V::Val{false}) = 'N'
38-
convtrans(V::Val{true}) = 'C'
38+
convtrans(V::Val{true}) = $elt <: Complex ? 'C' : 'T'
3939

4040
if transA == Val(false)
4141
lda = M

0 commit comments

Comments
 (0)