Skip to content

Commit

Permalink
Return dest array in copy_tranpose! to make it type stable
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Mar 5, 2015
1 parent caa3277 commit 3254d5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/linalg/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ function copy_transpose!{R,S}(B::AbstractMatrix{R}, ir_dest::UnitRange{Int}, jr_
copy!(B, ir_dest, jr_dest, M, jr_src, ir_src)
tM == 'C' && conj!(B)
end
B
end

# TODO: It will be faster for large matrices to convert to float,
Expand Down

0 comments on commit 3254d5f

Please sign in to comment.