Skip to content

Commit

Permalink
fix existing doctest outputs
Browse files Browse the repository at this point in the history
(cherry picked from commit 17d882b)
ref #21676
  • Loading branch information
tkelman committed May 4, 2017
1 parent 8b5a2e7 commit a31ac05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/linalg/dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ julia> A = 2.7182818 * eye(2)
0.0 2.71828
julia> logm(A)
2×2 Array{Float64,2}:
2×2 Symmetric{Float64,Array{Float64,2}}:
1.0 0.0
0.0 1.0
```
Expand Down
4 changes: 2 additions & 2 deletions base/linalg/eigen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ julia> A = [0 im; -1 0]
julia> eigmax(A)
ERROR: DomainError:
Stacktrace:
[1] #eigmax#38(::Bool, ::Bool, ::Function, ::Array{Complex{Int64},2}) at ./linalg/eigen.jl:238
[1] #eigmax#46(::Bool, ::Bool, ::Function, ::Array{Complex{Int64},2}) at ./linalg/eigen.jl:238
[2] eigmax(::Array{Complex{Int64},2}) at ./linalg/eigen.jl:236
```
"""
Expand Down Expand Up @@ -270,7 +270,7 @@ julia> A = [0 im; -1 0]
julia> eigmin(A)
ERROR: DomainError:
Stacktrace:
[1] #eigmin#39(::Bool, ::Bool, ::Function, ::Array{Complex{Int64},2}) at ./linalg/eigen.jl:280
[1] #eigmin#47(::Bool, ::Bool, ::Function, ::Array{Complex{Int64},2}) at ./linalg/eigen.jl:280
[2] eigmin(::Array{Complex{Int64},2}) at ./linalg/eigen.jl:278
```
"""
Expand Down

0 comments on commit a31ac05

Please sign in to comment.