Skip to content

Commit

Permalink
🤖 Format .jl files (#328)
Browse files Browse the repository at this point in the history
Co-authored-by: tmigot <[email protected]>
  • Loading branch information
github-actions[bot] and tmigot authored May 3, 2024
1 parent 36b496d commit 038ce17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ext/LinearOperatorsLDLFactorizationsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ function LinearOperators.opLDL(M::AbstractMatrix; check::Bool = false)
#TODO: use iterative refinement.
end

function LinearOperators.opLDL(M::Symmetric{T, SparseMatrixCSC{T, Int}}; check::Bool = false) where {T <: Real}
function LinearOperators.opLDL(
M::Symmetric{T, SparseMatrixCSC{T, Int}};
check::Bool = false,
) where {T <: Real}
(m, n) = size(M)
m == n || throw(LinearOperatorException("shape mismatch"))
if check
Expand All @@ -31,4 +34,4 @@ function LinearOperators.opLDL(M::Symmetric{T, SparseMatrixCSC{T, Int}}; check::
return LinearOperator{S}(m, m, isreal(M), true, prod!, tprod!, ctprod!)
end

end # module
end # module

0 comments on commit 038ce17

Please sign in to comment.