Skip to content

Commit b8354f6

Browse files
authored
Fix typos [nfc] (#51709)
1 parent 5061e80 commit b8354f6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/generic.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,8 @@ This is equivalent to [`norm`](@ref).
755755
@inline opnorm(x::Number, p::Real=2) = norm(x, p)
756756

757757
"""
758-
opnorm(A::Adjoint{<:Any,<:AbstracVector}, q::Real=2)
759-
opnorm(A::Transpose{<:Any,<:AbstracVector}, q::Real=2)
758+
opnorm(A::Adjoint{<:Any,<:AbstractVector}, q::Real=2)
759+
opnorm(A::Transpose{<:Any,<:AbstractVector}, q::Real=2)
760760
761761
For Adjoint/Transpose-wrapped vectors, return the operator ``q``-norm of `A`, which is
762762
equivalent to the `p`-norm with value `p = q/(q-1)`. They coincide at `p = q = 2`.

src/lu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Base.iterate(S::LU, ::Val{:done}) = nothing
7676
adjoint(F::LU{<:Real}) = TransposeFactorization(F)
7777
transpose(F::LU{<:Real}) = TransposeFactorization(F)
7878

79-
# the following method is meant to catch calls to lu!(A::LAPACKArray) without a pivoting stategy
79+
# the following method is meant to catch calls to lu!(A::LAPACKArray) without a pivoting strategy
8080
lu!(A::StridedMatrix{<:BlasFloat}; check::Bool = true) = lu!(A, RowMaximum(); check=check)
8181
function lu!(A::StridedMatrix{T}, ::RowMaximum; check::Bool = true) where {T<:BlasFloat}
8282
lpt = LAPACK.getrf!(A; check)

test/dense.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ end
878878
end
879879
end
880880

881-
@testset "matrix logarithm is type-inferrable" for elty in (Float32,Float64,ComplexF32,ComplexF64)
881+
@testset "matrix logarithm is type-inferable" for elty in (Float32,Float64,ComplexF32,ComplexF64)
882882
A1 = randn(elty, 4, 4)
883883
@inferred Union{Matrix{elty},Matrix{complex(elty)}} log(A1)
884884
end

test/triangular.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ end
564564
end
565565
end
566566

567-
@testset "check matrix logarithm type-inferrable" for elty in (Float32,Float64,ComplexF32,ComplexF64)
567+
@testset "check matrix logarithm type-inferable" for elty in (Float32,Float64,ComplexF32,ComplexF64)
568568
A = UpperTriangular(exp(triu(randn(elty, n, n))))
569569
@inferred Union{typeof(A),typeof(complex(A))} log(A)
570570
@test exp(Matrix(log(A))) A

0 commit comments

Comments
 (0)