Skip to content

Commit 0f9327b

Browse files
borisdevoslkdvos
andauthored
Typo in errors (#153)
* typo * format? * manual format * Revert "manual format" This reverts commit 2420b73. * Revert "format?" This reverts commit 2fc2786. --------- Co-authored-by: Lukas Devos <ldevos98@gmail.com>
1 parent c255dad commit 0f9327b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/interface/decompositions.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ LeftOrthAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = LeftO
411411
# Note: specific algorithm selection is handled by `left_orth_alg` in orthnull.jl
412412
LeftOrthAlgorithm(alg::AbstractAlgorithm) = error(
413413
"""
414-
Unkown or invalid `left_orth` algorithm type `$(typeof(alg))`.
414+
Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
415415
To register the algorithm type for `left_orth`, define
416416
417417
MatrixAlgebraKit.left_orth_alg(alg::CustomAlgorithm) = LeftOrthAlgorithm{kind}(alg)
@@ -440,7 +440,7 @@ RightOrthAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = Righ
440440
# Note: specific algorithm selection is handled by `right_orth_alg` in orthnull.jl
441441
RightOrthAlgorithm(alg::AbstractAlgorithm) = error(
442442
"""
443-
Unkown or invalid `right_orth` algorithm type `$(typeof(alg))`.
443+
Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
444444
To register the algorithm type for `right_orth`, define
445445
446446
MatrixAlgebraKit.right_orth_alg(alg::CustomAlgorithm) = RightOrthAlgorithm{kind}(alg)
@@ -469,7 +469,7 @@ LeftNullAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = LeftN
469469
# Note: specific algorithm selection is handled by `left_null_alg` in orthnull.jl
470470
LeftNullAlgorithm(alg::AbstractAlgorithm) = error(
471471
"""
472-
Unkown or invalid `left_null` algorithm type `$(typeof(alg))`.
472+
Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
473473
To register the algorithm type for `left_null`, define
474474
475475
MatrixAlgebraKit.left_null_alg(alg::CustomAlgorithm) = LeftNullAlgorithm{kind}(alg)
@@ -497,7 +497,7 @@ RightNullAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = Righ
497497
# Note: specific algorithm selection is handled by `right_null_alg` in orthnull.jl
498498
RightNullAlgorithm(alg::AbstractAlgorithm) = error(
499499
"""
500-
Unkown or invalid `right_null` algorithm type `$(typeof(alg))`.
500+
Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
501501
To register the algorithm type for `right_null`, define
502502
503503
MatrixAlgebraKit.right_null_alg(alg::CustomAlgorithm) = RightNullAlgorithm{kind}(alg)

src/interface/orthnull.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ See also [`LeftOrthAlgorithm`](@ref), [`left_orth`](@ref).
429429
"""
430430
left_orth_alg(alg::AbstractAlgorithm) = error(
431431
"""
432-
Unkown or invalid `left_orth` algorithm type `$(typeof(alg))`.
432+
Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
433433
To register the algorithm type for `left_orth`, define
434434
435435
MatrixAlgebraKit.left_orth_alg(alg::CustomAlgorithm) = LeftOrthAlgorithm{kind}(alg)
@@ -464,7 +464,7 @@ See also [`RightOrthAlgorithm`](@ref), [`right_orth`](@ref).
464464
"""
465465
right_orth_alg(alg::AbstractAlgorithm) = error(
466466
"""
467-
Unkown or invalid `right_orth` algorithm type `$(typeof(alg))`.
467+
Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
468468
To register the algorithm type for `right_orth`, define
469469
470470
MatrixAlgebraKit.right_orth_alg(alg::CustomAlgorithm) = RightOrthAlgorithm{kind}(alg)
@@ -499,7 +499,7 @@ See also [`LeftNullAlgorithm`](@ref), [`left_null`](@ref).
499499
"""
500500
left_null_alg(alg::AbstractAlgorithm) = error(
501501
"""
502-
Unkown or invalid `left_null` algorithm type `$(typeof(alg))`.
502+
Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
503503
To register the algorithm type for `left_null`, define
504504
505505
MatrixAlgebraKit.left_null_alg(alg::CustomAlgorithm) = LeftNullAlgorithm{kind}(alg)
@@ -533,7 +533,7 @@ See also [`RightNullAlgorithm`](@ref), [`right_null`](@ref).
533533
"""
534534
right_null_alg(alg::AbstractAlgorithm) = error(
535535
"""
536-
Unkown or invalid `right_null` algorithm type `$(typeof(alg))`.
536+
Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
537537
To register the algorithm type for `right_null`, define
538538
539539
MatrixAlgebraKit.right_null_alg(alg::CustomAlgorithm) = RightNullAlgorithm{kind}(alg)

0 commit comments

Comments
 (0)