Skip to content

Commit

Permalink
Space out ternaries in LAPACK wrappers to avoid syntax warnings (#22625)
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan authored Jun 30, 2017
1 parent bbc516c commit c509321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/linalg/lapack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1610,8 +1610,8 @@ for (geev, gesvd, gesdd, ggsvd, elty, relty) in
m, n = size(A)
minmn = min(m, n)
S = similar(A, $relty, minmn)
U = similar(A, $elty, jobu == 'A'? (m, m):(jobu == 'S'? (m, minmn) : (m, 0)))
VT = similar(A, $elty, jobvt == 'A'? (n, n):(jobvt == 'S'? (minmn, n) : (n, 0)))
U = similar(A, $elty, jobu == 'A' ? (m, m) : (jobu == 'S' ? (m, minmn) : (m, 0)))
VT = similar(A, $elty, jobvt == 'A' ? (n, n) : (jobvt == 'S' ? (minmn, n) : (n, 0)))
work = Vector{$elty}(1)
cmplx = eltype(A) <: Complex
if cmplx
Expand Down

0 comments on commit c509321

Please sign in to comment.