diff --git a/ngsPETSc/ksp.py b/ngsPETSc/ksp.py index 1054fd7..d459fc3 100644 --- a/ngsPETSc/ksp.py +++ b/ngsPETSc/ksp.py @@ -162,7 +162,7 @@ class KrylovSolver(): """ def __init__(self, a, dofsDescr, p=None, nullspace=None, optionsPrefix="", - solverParameters={}): + solverParameters={}): #pylint: disable=W0102 # Grabbing dofs information if isinstance(dofsDescr, FESpace): freeDofs = dofsDescr.FreeDofs() diff --git a/ngsPETSc/snes.py b/ngsPETSc/snes.py index 748c33f..605d994 100644 --- a/ngsPETSc/snes.py +++ b/ngsPETSc/snes.py @@ -29,7 +29,7 @@ class NonLinearSolver: this fuction is used only if the argument a is None. ''' def __init__(self, fes, a=None, residual=None, objective=None, jacobian=None, - solverParameters={}, optionsPrefix=""): + solverParameters={}, optionsPrefix=""): #pylint: disable=W0102 self.fes = fes dofs = fes.ParallelDofs() self.second_order = False