Skip to content

Commit

Permalink
Add dummy precon= keyword
Browse files Browse the repository at this point in the history
Make sure solver API is consistent
  • Loading branch information
guyer committed Feb 14, 2025
1 parent fc047b8 commit ef3db88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fipy/solvers/pysparse/linearJORSolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LinearJORSolver(PysparseSolver):
"""

def __init__(self, tolerance="default", criterion="default",
iterations="default", relaxation=1.0):
iterations="default", relaxation=1.0, precon=None):
"""
Create a `LinearJORSolver` object.
Expand All @@ -36,6 +36,8 @@ def __init__(self, tolerance="default", criterion="default",
Maximum number of iterative steps to perform.
relaxation : float
Fraction of update to apply
precon
*ignored*
"""
super(LinearJORSolver, self).__init__(tolerance=tolerance, criterion=criterion,
iterations=iterations, precon=None)
Expand Down

0 comments on commit ef3db88

Please sign in to comment.