Skip to content

Commit 5415102

Browse files
Add SparseArrays dependency for NonlinearSolvePETScExt
The PETSc extension uses SparseArrays.AbstractSparseMatrix but was missing SparseArrays from its extension dependencies. This fixes: - Add SparseArrays to NonlinearSolvePETScExt extension dependencies - Add SparseArrays back to [weakdeps] (needed by PETSc extension) - Add SparseArrays compat entry All other extensions checked and have correct dependencies. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 4f1f3f9 commit 5415102

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ NLSolvers = "337daf1e-9722-11e9-073e-8b9effe078ba"
4141
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
4242
PETSc = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0"
4343
SIAMFANLEquations = "084e46ad-d928-497d-ad5e-07fa361a48c4"
44+
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
4445
SpeedMapping = "f1835b91-879b-4a3f-a438-e4baacf14412"
4546
Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
4647

@@ -51,7 +52,7 @@ NonlinearSolveLeastSquaresOptimExt = "LeastSquaresOptim"
5152
NonlinearSolveMINPACKExt = "MINPACK"
5253
NonlinearSolveNLSolversExt = "NLSolvers"
5354
NonlinearSolveNLsolveExt = ["NLsolve", "LineSearches"]
54-
NonlinearSolvePETScExt = ["PETSc", "MPI"]
55+
NonlinearSolvePETScExt = ["PETSc", "MPI", "SparseArrays"]
5556
NonlinearSolveSIAMFANLEquationsExt = "SIAMFANLEquations"
5657
NonlinearSolveSpeedMappingExt = "SpeedMapping"
5758
NonlinearSolveSundialsExt = "Sundials"
@@ -104,6 +105,7 @@ Reexport = "1.2.2"
104105
SIAMFANLEquations = "1.0.1"
105106
SciMLBase = "2.69"
106107
SimpleNonlinearSolve = "2.1"
108+
SparseArrays = "1.10"
107109
SparseConnectivityTracer = "0.6.5"
108110
SparseMatrixColorings = "0.4.5"
109111
SpeedMapping = "0.3"

0 commit comments

Comments
 (0)