Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .JuliaFormatter.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ format_markdown = true
import_to_using = false
pipe_to_function_call = false
short_to_long_function_def = false
always_use_return = false
always_use_return = false
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[codespell]
ignore-words-list = missings,rcall,linke,fo,COO,alledges
ignore-words-list = missings,rcall,linke,fo,coo,alledges
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}


21 changes: 21 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pre-commit

on:
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: 1.11
- run: |
julia --project=@runic -e '
using Pkg
Pkg.add("Runic")'
env:
PYTHON: ""
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ docs/build
Manifest*.toml
.repl_history
quarry

21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=8192]
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: no-commit-to-branch
args: [--branch,master]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
1 change: 0 additions & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
"license": "MIT",
"upload_type": "software"
}

1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ Introducd 1.9 extensions

- Implement AbstractSparseMatrixCSC interface.
- Remove extension of LinearSolve methodsa

1 change: 0 additions & 1 deletion docs/src/linearsolve.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,3 @@ y = LinearSolve.solve(LinearProblem(A, b), KrylovJL_CG();
Pl = ILUZero.ilu0(SparseMatrixCSC(A))).u
sum(y)
```

1 change: 0 additions & 1 deletion ext/ExtendableSparseIncompleteLUExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ function update!(precon::ILUTPreconditioner)
end

end

1 change: 0 additions & 1 deletion ext/ExtendableSparseLinearSolveExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ end
(b::LinearSolvePreconBuilder)(A::AbstractSparseMatrixCSC,p) = (LinearSolvePrecon(A,b.method), LinearAlgebra.I)

end

1 change: 0 additions & 1 deletion ext/ExtendableSparsePardisoExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,3 @@ end
end

end

1 change: 0 additions & 1 deletion src/compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ macro public(ex)
nothing
end
end

1 change: 0 additions & 1 deletion src/experimental/Experimental.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ export reorderlinsys, nnz_noflush


end

Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,4 @@ end



#end
#end
1 change: 0 additions & 1 deletion src/experimental/ExtendableSparseMatrixParallel/iluam.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ end

allow_views(::ILUAMPreconditioner)=true
allow_views(::Type{ILUAMPreconditioner})=true

Original file line number Diff line number Diff line change
Expand Up @@ -348,4 +348,4 @@ function nnz(ilu::PILUAMPrecon{T,N}) where {T,N<:Integer}
length(ilu.nzval)
end

#end
#end
1 change: 0 additions & 1 deletion src/experimental/ExtendableSparseMatrixParallel/piluam.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ end

allow_views(::PILUAMPreconditioner)=true
allow_views(::Type{PILUAMPreconditioner})=true

Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,3 @@ function dense_flush_removezeros!(
)

end







11 changes: 0 additions & 11 deletions src/experimental/ExtendableSparseMatrixParallel/supersparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -785,14 +785,3 @@ end
function form(x)
[minimum(x), mean(x), maximum(x)]
end











2 changes: 0 additions & 2 deletions src/factorizations/iluzero.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,3 @@ function LinearAlgebra.ldiv!(u,p::PointBlockILUZeroPreconditioner,v)
)
u
end


1 change: 0 additions & 1 deletion src/factorizations/parallel_ilu0.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,3 @@ function update!(p::ParallelILU0Preconditioner)
end
p
end

1 change: 0 additions & 1 deletion src/factorizations/umfpack_lu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ function update!(lufact::LUFactorization)
end
lufact
end

2 changes: 0 additions & 2 deletions src/matrix/extendable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,3 @@ function pointblock(A0::ExtendableSparseMatrixCSC{Tv,Ti},blocksize) where {Tv,Ti
end
flush!(Ab)
end


1 change: 0 additions & 1 deletion src/matrix/genericextendablesparsematrixcsc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ function updateindex!(ext::GenericExtendableSparseMatrixCSC,
updateindex!(ext.xmatrix,op,v,i,j)
end
end

Loading