Skip to content

Commit 14deb68

Browse files
committed
Doctest changes from JuliaLang#17113
1 parent 1be0b52 commit 14deb68

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

base/docs/helpdb/Base.jl

+1-4
Original file line numberDiff line numberDiff line change
@@ -9225,10 +9225,7 @@ on the `permute` and `scale` keyword arguments. The eigenvectors are returned co
92259225
```jldoctest
92269226
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
92279227
([1.0,3.0,18.0],
9228-
3×3 Array{Float64,2}:
9229-
1.0 0.0 0.0
9230-
0.0 1.0 0.0
9231-
0.0 0.0 1.0)
9228+
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
92329229
```
92339230
92349231
`eig` is a wrapper around [`eigfact`](:func:`eigfact`), extracting all parts of the

doc/devdocs/reflection.rst

+1-1
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

+1-4
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)