Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Oct 12, 2024
1 parent 7c9ecd1 commit 2c41aef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jaxls/_solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ class ConjugateGradientLinearSolver:
For reference, see AN INEXACT LEVENBERG-MARQUARDT METHOD FOR LARGE SPARSE NONLINEAR
LEAST SQUARES, Wright & Holt 1983."""

preconditioner: jdc.Static[Literal["block-jacobi", "point-jacobi"]] | None = "block-jacobi"
preconditioner: jdc.Static[Literal["block-jacobi", "point-jacobi"] | None] = (
"block-jacobi"
)
"""Preconditioner to use for linear solves."""

def _solve(
Expand Down

0 comments on commit 2c41aef

Please sign in to comment.