From 425a08177f9066d22664d20617b208fbc98c2614 Mon Sep 17 00:00:00 2001 From: mtfishman Date: Wed, 9 Apr 2025 10:01:41 -0400 Subject: [PATCH 1/2] Format --- ext/MatrixAlgebraKitChainRulesCoreExt.jl | 2 +- src/algorithms.jl | 2 +- src/implementations/orthnull.jl | 2 +- src/interface/orthnull.jl | 2 +- src/pullbacks/polar.jl | 2 +- test/chainrules.jl | 2 +- test/orthnull.jl | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ext/MatrixAlgebraKitChainRulesCoreExt.jl b/ext/MatrixAlgebraKitChainRulesCoreExt.jl index 5ef1fd9b..e21842c6 100644 --- a/ext/MatrixAlgebraKitChainRulesCoreExt.jl +++ b/ext/MatrixAlgebraKitChainRulesCoreExt.jl @@ -176,4 +176,4 @@ function ChainRulesCore.rrule(::typeof(right_polar!), A::AbstractMatrix, PWᴴ, return PWᴴ, right_polar_pullback end -end \ No newline at end of file +end diff --git a/src/algorithms.jl b/src/algorithms.jl index ea260aa2..fc247317 100644 --- a/src/algorithms.jl +++ b/src/algorithms.jl @@ -178,4 +178,4 @@ macro check_size(x, sz, size=:size) string($sz) szx == $sz || throw(DimensionMismatch($err)) end) -end \ No newline at end of file +end diff --git a/src/implementations/orthnull.jl b/src/implementations/orthnull.jl index e134121b..c34df721 100644 --- a/src/implementations/orthnull.jl +++ b/src/implementations/orthnull.jl @@ -215,4 +215,4 @@ function right_null!(A::AbstractMatrix, Nᴴ; kwargs...) else throw(ArgumentError("`right_null!` received unknown value `kind = $kind`")) end -end \ No newline at end of file +end diff --git a/src/interface/orthnull.jl b/src/interface/orthnull.jl index de7c3153..78a60568 100644 --- a/src/interface/orthnull.jl +++ b/src/interface/orthnull.jl @@ -224,4 +224,4 @@ function right_null!(A::AbstractMatrix; kwargs...) end function right_null(A::AbstractMatrix; kwargs...) return right_null!(copy_input(right_null, A); kwargs...) -end \ No newline at end of file +end diff --git a/src/pullbacks/polar.jl b/src/pullbacks/polar.jl index ed6fc17d..2eea389e 100644 --- a/src/pullbacks/polar.jl +++ b/src/pullbacks/polar.jl @@ -58,4 +58,4 @@ function right_polar_pullback!(ΔA::AbstractMatrix, PWᴴ, ΔPWᴴ) ΔA .+= PΔWᴴ end return ΔA -end \ No newline at end of file +end diff --git a/test/chainrules.jl b/test/chainrules.jl index 47de1c04..a93c5270 100644 --- a/test/chainrules.jl +++ b/test/chainrules.jl @@ -356,4 +356,4 @@ end test_rrule(config, right_null, A; fkwargs=(; kind=:lqpos), output_tangent=ΔNᴴ, atol=atol, rtol=rtol, rrule_f=rrule_via_ad, check_inferred=false) end -end \ No newline at end of file +end diff --git a/test/orthnull.jl b/test/orthnull.jl index 7b926b59..7784fc82 100644 --- a/test/orthnull.jl +++ b/test/orthnull.jl @@ -209,4 +209,4 @@ end end end end -end \ No newline at end of file +end From 896db958ad2ebac96f2ba69cacaea18ec424371b Mon Sep 17 00:00:00 2001 From: mtfishman Date: Wed, 9 Apr 2025 10:12:45 -0400 Subject: [PATCH 2/2] Add vim temp files to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4f2cc4b7..73664508 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.jl.*.cov *.jl.cov *.jl.mem +.*.swp Manifest.toml docs/build/