Skip to content

Commit

Permalink
some fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Abbott committed Dec 13, 2020
1 parent da40c4d commit 491e7ae
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion base/abstractset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ end
Construct the intersection of sets.
Maintain order with arrays.
See also: [`setdiff`](@ref), [`isdisjoint`](@ref), [`issubset`](@ref), [`issetequal`](@ref).
See also: [`setdiff`](@ref), [`isdisjoint`](@ref), [`issubset`](@ref Base.issubset), [`issetequal`](@ref).
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ kw";"
Short-circuiting boolean AND.
See also [`&`](@ref), and the [ternary operator `? :`](@ref kw"?").
See also [`&`](@ref), the ternary operator `? :`, and the manual section on [control flow](@ref man-conditional-evaluation).
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ Return an iterator over the product of several iterators. Each generated element
a tuple whose `i`th element comes from the `i`th argument iterator. The first iterator
changes the fastest.
See also: [`zip`](@ref), [`splat`](@ref Base.splat), [`Iterators.flatten`](@ref).
See also: [`zip`](@ref), [`Iterators.flatten`](@ref), `Base.splat`.
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/number.jl
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ should return an identity value of the same precision
If you want a quantity that is of the same type as `x`, or of type `T`,
even if `x` is dimensionful, use [`oneunit`](@ref) instead.
See also [`identity`](@ref), [`LinearAlgebra.I`](@ref).
See also [`identity`](@ref), `LinearAlgebra.I`.
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ extrema(f, x::Real) = (y = f(x); (y, y))
The identity function. Returns its argument.
See also: [`one`](@ref), [`oneunit`](@ref), [`I`](@ref LinearAlgebra.I).
See also: [`one`](@ref), [`oneunit`](@ref), `LinearAlgebra.I`.
# Examples
```jldoctest
Expand Down
4 changes: 2 additions & 2 deletions base/reflection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ A list of modules can also be specified as an array.
!!! compat "Julia 1.4"
At least Julia 1.4 is required for specifying a module.
See also: [`which`](@ref), [`@which`](@ref).
See also: [`which`](@ref), [`@which`](@ref Base.@which).
"""
function methods(@nospecialize(f), @nospecialize(t),
mod::Union{Tuple{Module},AbstractArray{Module},Nothing}=nothing)
Expand Down Expand Up @@ -1244,7 +1244,7 @@ Returns the method of `f` (a `Method` object) that would be called for arguments
If `types` is an abstract type, then the method that would be called by `invoke` is returned.
See also: [`@which`](@ref), [`@edit`](@ref), [`parentmodule`](@ref).
See also: [`@which`](@ref Base.@which), [`@edit`](@ref Base.@edit), [`parentmodule`](@ref).
"""
function which(@nospecialize(f), @nospecialize(t))
if isa(f, Core.Builtin)
Expand Down
2 changes: 1 addition & 1 deletion base/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ show_supertypes(typ::DataType) = show_supertypes(stdout, typ)
Prints one or more expressions, and their results, to `stdout`, and returns the last result.
See also: [`show`](@ref), [`@info`](@ref Logging.@logmsg), [`println`](@ref).
See also: [`show`](@ref), [`@info`](@ref Logging), [`println`](@ref).
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
Print (using [`print`](@ref)) `xs` followed by a newline.
If `io` is not supplied, prints to [`stdout`](@ref).
See also: [`show`](@ref), [`@show`](@ref), [`@info`](@ref Logging.@logmsg), [`sprint`](@ref), [`Printf.@printf`](@ref).
See also: [`show`](@ref), [`@show`](@ref), [`@info`](@ref Logging), [`sprint`](@ref), [`Printf.@printf`](@ref Printf).
# Examples
```jldoctest
Expand Down
4 changes: 2 additions & 2 deletions base/threadingconstructs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ threadid() = Int(ccall(:jl_threadid, Int16, ())+1)
Get the number of threads available to the Julia process. This is the inclusive upper bound
on [`threadid()`](@ref).
See also: [`BLAS.get_num_threads`](@ref LinearAlgebra.BLAS.get_num_threads), [`BLAS.set_num_threads`](@ref LinearAlgebra.BLAS.set_num_threads), [`Distributed.addprocs`](@ref).
See also: `BLAS.get_num_threads` and `BLAS.set_num_threads` in the [`LinearAlgebra`](@ref man-linalg) standard library.
"""
nthreads() = Int(unsafe_load(cglobal(:jl_n_threads, Cint)))

Expand Down Expand Up @@ -117,7 +117,7 @@ The default schedule (used when no `schedule` argument is present) is subject to
!!! compat "Julia 1.5"
The `schedule` argument is available as of Julia 1.5.
See also: [`@spawn`](@ref Threads.@spawn), [`nthreads()`](@ref Threads.nthreads), [`threadid()`](@ref Threads.threadid), [Distributed.pmap](@ref), [`BLAS.set_num_threads`](@ref LinearAlgebra.BLAS.set_num_threads).
See also: [`@spawn`](@ref Threads.@spawn), [`nthreads()`](@ref Threads.nthreads), [`threadid()`](@ref Threads.threadid), [Distributed.pmap](@ref Distributed), `BLAS.set_num_threads` in [`LinearAlgebra`](@ref).
"""
macro threads(args...)
na = length(args)
Expand Down
2 changes: 2 additions & 0 deletions doc/src/base/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ Base.Val
Core.Vararg
Core.Nothing
Base.isnothing
Base.notnothing
Base.Some
Base.something
Base.Enums.Enum
Expand Down Expand Up @@ -405,6 +406,7 @@ Base.isconst
Base.nameof(::Function)
Base.functionloc(::Any, ::Any)
Base.functionloc(::Method)
Base.@locals
```

## Internals
Expand Down
1 change: 1 addition & 0 deletions doc/src/base/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ Base.nextprod
Base.invmod
Base.powermod
Base.ndigits
Base.add_sum
Base.widemul
Base.Math.evalpoly
Base.Math.@evalpoly
Expand Down
1 change: 1 addition & 0 deletions stdlib/LinearAlgebra/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ LinearAlgebra.BLAS.trmv
LinearAlgebra.BLAS.trsv!
LinearAlgebra.BLAS.trsv
LinearAlgebra.BLAS.set_num_threads
LinearAlgebra.BLAS.get_num_threads
```

## LAPACK functions
Expand Down

0 comments on commit 491e7ae

Please sign in to comment.