Skip to content

Conversation

@borisdevos
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic main) to apply these changes.

Click here to view the suggested changes.
diff --git a/src/interface/decompositions.jl b/src/interface/decompositions.jl
index e8e1021..88d5b80 100644
--- a/src/interface/decompositions.jl
+++ b/src/interface/decompositions.jl
@@ -411,11 +411,11 @@ LeftOrthAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = LeftO
 # Note: specific algorithm selection is handled by `left_orth_alg` in orthnull.jl
 LeftOrthAlgorithm(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `left_orth`, define
-    
+        
         MatrixAlgebraKit.left_orth_alg(alg::CustomAlgorithm) = LeftOrthAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:qr`, `:polar` or `:svd`, to select [`qr_compact!`](@ref),
     [`left_polar!`](@ref), [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -440,11 +440,11 @@ RightOrthAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = Righ
 # Note: specific algorithm selection is handled by `right_orth_alg` in orthnull.jl
 RightOrthAlgorithm(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `right_orth`, define
-    
+        
         MatrixAlgebraKit.right_orth_alg(alg::CustomAlgorithm) = RightOrthAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:lq`, `:polar` or `:svd`, to select [`lq_compact!`](@ref),
     [`right_polar!`](@ref), [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -469,11 +469,11 @@ LeftNullAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = LeftN
 # Note: specific algorithm selection is handled by `left_null_alg` in orthnull.jl
 LeftNullAlgorithm(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `left_null`, define
-    
+        
         MatrixAlgebraKit.left_null_alg(alg::CustomAlgorithm) = LeftNullAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:qr` or `:svd`, to select [`qr_null!`](@ref),
     [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -497,11 +497,11 @@ RightNullAlgorithm{Kind}(alg::Alg) where {Kind, Alg <: AbstractAlgorithm} = Righ
 # Note: specific algorithm selection is handled by `right_null_alg` in orthnull.jl
 RightNullAlgorithm(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `right_null`, define
-    
+        
         MatrixAlgebraKit.right_null_alg(alg::CustomAlgorithm) = RightNullAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:lq` or `:svd`, to select [`lq_null!`](@ref),
     [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
diff --git a/src/interface/orthnull.jl b/src/interface/orthnull.jl
index 1ef84c4..ff6d29f 100644
--- a/src/interface/orthnull.jl
+++ b/src/interface/orthnull.jl
@@ -429,11 +429,11 @@ See also [`LeftOrthAlgorithm`](@ref), [`left_orth`](@ref).
 """
 left_orth_alg(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `left_orth` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `left_orth`, define
-    
+        
         MatrixAlgebraKit.left_orth_alg(alg::CustomAlgorithm) = LeftOrthAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:qr`, `:polar` or `:svd`, to select [`qr_compact!`](@ref),
     [`left_polar!`](@ref), [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -464,11 +464,11 @@ See also [`RightOrthAlgorithm`](@ref), [`right_orth`](@ref).
 """
 right_orth_alg(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `right_orth` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `right_orth`, define
-    
+        
         MatrixAlgebraKit.right_orth_alg(alg::CustomAlgorithm) = RightOrthAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:lq`, `:polar` or `:svd`, to select [`lq_compact!`](@ref),
     [`right_polar!`](@ref), [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -499,11 +499,11 @@ See also [`LeftNullAlgorithm`](@ref), [`left_null`](@ref).
 """
 left_null_alg(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `left_null` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `left_null`, define
-    
+        
         MatrixAlgebraKit.left_null_alg(alg::CustomAlgorithm) = LeftNullAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:qr` or `:svd`, to select [`qr_null!`](@ref),
     [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.
@@ -533,11 +533,11 @@ See also [`RightNullAlgorithm`](@ref), [`right_null`](@ref).
 """
 right_null_alg(alg::AbstractAlgorithm) = error(
     """
-    Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
+        Unknown or invalid `right_null` algorithm type `$(typeof(alg))`.
     To register the algorithm type for `right_null`, define
-    
+        
         MatrixAlgebraKit.right_null_alg(alg::CustomAlgorithm) = RightNullAlgorithm{kind}(alg)
-    
+        
     where `kind` selects the factorization type that will be used.
     By default, this is either `:lq` or `:svd`, to select [`lq_null!`](@ref),
     [`svd_compact!`](@ref) or [`svd_trunc!`](@ref) respectively.

@borisdevos
Copy link
Member Author

The formatter is not being kind to me

@lkdvos
Copy link
Member

lkdvos commented Jan 15, 2026

You can ignore the formatter, this is a bug in git-runic

This reverts commit 2420b73.
This reverts commit 2fc2786.
@lkdvos lkdvos merged commit 0f9327b into main Jan 15, 2026
7 of 9 checks passed
@lkdvos lkdvos deleted the bd/errors branch January 15, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants