Skip to content

Commit d645532

Browse files
authored
Apply JuliaFormatter v2 formatting changes (#16)
* Format * Add vim temp files to gitignore
1 parent 66d4c87 commit d645532

7 files changed

Lines changed: 7 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.jl.*.cov
22
*.jl.cov
33
*.jl.mem
4+
.*.swp
45
Manifest.toml
56
docs/build/

ext/MatrixAlgebraKitChainRulesCoreExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ function ChainRulesCore.rrule(::typeof(right_polar!), A::AbstractMatrix, PWᴴ,
176176
return PWᴴ, right_polar_pullback
177177
end
178178

179-
end
179+
end

src/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ macro check_size(x, sz, size=:size)
178178
string($sz)
179179
szx == $sz || throw(DimensionMismatch($err))
180180
end)
181-
end
181+
end

src/implementations/orthnull.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,4 @@ function right_null!(A::AbstractMatrix, Nᴴ; kwargs...)
215215
else
216216
throw(ArgumentError("`right_null!` received unknown value `kind = $kind`"))
217217
end
218-
end
218+
end

src/pullbacks/polar.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ function right_polar_pullback!(ΔA::AbstractMatrix, PWᴴ, ΔPWᴴ)
5858
ΔA .+= PΔWᴴ
5959
end
6060
return ΔA
61-
end
61+
end

test/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,4 @@ end
356356
test_rrule(config, right_null, A; fkwargs=(; kind=:lqpos), output_tangent=ΔNᴴ,
357357
atol=atol, rtol=rtol, rrule_f=rrule_via_ad, check_inferred=false)
358358
end
359-
end
359+
end

test/orthnull.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,4 @@ end
209209
end
210210
end
211211
end
212-
end
212+
end

0 commit comments

Comments
 (0)