Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Mar 4, 2012
2 parents 50ede50 + 2a14a0e commit b6c0483
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jl/linalg_lapack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,6 @@ end
@_jl_lapack_backslash_macro :zgesv_ :zposv_ :zgels_ :ztrtrs_ Complex128
@_jl_lapack_backslash_macro :cgesv_ :cposv_ :cgels_ :ctrtrs_ Complex64

(\){T1<:Integer, T2<:Integer}(A::StridedMatrix{T1}, B::StridedVecOrMat{T2}) = (\)(float64(A), float64(B))

function (\){T<:Union(Float64,Float32,Complex128,Complex64)}(A::StridedMatrix{T}, B::VecOrMat{T})
m, n = size(A)
mrhs = size(B, 1)
Expand Down Expand Up @@ -694,3 +692,5 @@ function (\){T<:Union(Float64,Float32,Complex128,Complex64)}(A::StridedMatrix{T}
error("error in LAPACK solving A*X = B")

end

(\){T1<:Real, T2<:Real}(A::StridedMatrix{T1}, B::StridedVecOrMat{T2}) = (\)(float64(A), float64(B))

0 comments on commit b6c0483

Please sign in to comment.