Skip to content

Commit eb97af3

Browse files
committed
Doctest changes from JuliaLang#17113
1 parent ebef007 commit eb97af3

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
@@ -9397,10 +9397,7 @@ on the `permute` and `scale` keyword arguments. The eigenvectors are returned co
93979397
```jldoctest
93989398
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
93999399
([1.0,3.0,18.0],
9400-
3×3 Array{Float64,2}:
9401-
1.0 0.0 0.0
9402-
0.0 1.0 0.0
9403-
0.0 0.0 1.0)
9400+
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
94049401
```
94059402
94069403
`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
@@ -523,10 +523,7 @@ Linear algebra functions in Julia are largely implemented by calling functions f
523523

524524
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
525525
([1.0,3.0,18.0],
526-
3×3 Array{Float64,2}:
527-
1.0 0.0 0.0
528-
0.0 1.0 0.0
529-
0.0 0.0 1.0)
526+
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
530527

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

0 commit comments

Comments
 (0)