Skip to content

Commit 04e85ce

Browse files
committed
Doctest changes from JuliaLang#17113
1 parent 65e6b12 commit 04e85ce

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

base/docs/helpdb/Base.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9176,10 +9176,7 @@ on the `permute` and `scale` keyword arguments. The eigenvectors are returned co
91769176
```jldoctest
91779177
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
91789178
([1.0,3.0,18.0],
9179-
3×3 Array{Float64,2}:
9180-
1.0 0.0 0.0
9181-
0.0 1.0 0.0
9182-
0.0 0.0 1.0)
9179+
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
91839180
```
91849181
91859182
`eig` is a wrapper around [`eigfact`](:func:`eigfact`), extracting all parts of the

doc/devdocs/reflection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ the macro will be evaluated and the result will be passed instead!). For example
9292
.. doctest::
9393

9494
julia> macroexpand( :(@edit println("")) )
95-
:(Base.edit(println,(Base.typesof)("")))
95+
:((Base.edit)(println,(Base.typesof)("")))
9696

9797
The functions :func:`Base.Meta.show_sexpr` and :func:`dump` are used to display S-expr style views
9898
and depth-nested detail views for any expression.

doc/stdlib/linalg.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,10 +584,7 @@ Linear algebra functions in Julia are largely implemented by calling functions f
584584

585585
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
586586
([1.0,3.0,18.0],
587-
3×3 Array{Float64,2}:
588-
1.0 0.0 0.0
589-
0.0 1.0 0.0
590-
0.0 0.0 1.0)
587+
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
591588

592589
``eig`` is a wrapper around :func:`eigfact`\ , extracting all parts of the factorization to a tuple; where possible, using :func:`eigfact` is recommended.
593590

0 commit comments

Comments
 (0)