Skip to content

Commit b4933fd

Browse files
committed
Add dummy precon= keyword
Make sure solver API is consistent
1 parent a470846 commit b4933fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fipy/solvers/pysparse/linearJORSolver.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class LinearJORSolver(PysparseSolver):
2626
}
2727

2828
def __init__(self, tolerance=1e-10, criterion="default",
29-
iterations=1000, relaxation=1.0):
29+
iterations=1000, relaxation=1.0, precon=None):
3030
"""
3131
Create a `LinearJORSolver` object.
3232
@@ -41,6 +41,8 @@ def __init__(self, tolerance=1e-10, criterion="default",
4141
Maximum number of iterative steps to perform.
4242
relaxation : float
4343
Fraction of update to apply
44+
precon
45+
*ignored*
4446
"""
4547
super(LinearJORSolver, self).__init__(tolerance=tolerance, criterion=criterion,
4648
iterations=iterations, precon=None)

0 commit comments

Comments
 (0)