Skip to content

Commit c688dd2

Browse files
Copilotjpfairbanks
andauthored
Fix whitespace alignment in ldlt_pseudoinverse_and_null
Agent-Logs-Url: https://github.com/AlgebraicJulia/CellularSheaves.jl/sessions/0041e93f-7169-435d-8b2a-b3bb8395b72e Co-authored-by: jpfairbanks <2753998+jpfairbanks@users.noreply.github.com>
1 parent 0b7bc7b commit c688dd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/network_sheaves/EuclideanSheaves.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ end
311311
# nullspace of the original matrix.
312312
function ldlt_pseudoinverse_and_null(M, b; tol=nothing)
313313
D = M.D; Lfac = M.L; P = M.P
314-
n = size(D, 1)
315-
max_abs = maximum(i -> abs(D[i, i]), 1:n; init=0.0)
314+
n = size(D, 1)
315+
max_abs = maximum(i -> abs(D[i, i]), 1:n; init=0.0)
316316
threshold = isnothing(tol) ? eps(Float64) * max(1.0, max_abs) : tol
317317

318318
null_idx = findall(i -> abs(D[i, i]) <= threshold, 1:n)

0 commit comments

Comments
 (0)