Commit d275f701 authored by Stephan Rave's avatar Stephan Rave
Browse files

[docs] try to fix autoapi build issue

parent ebf9b8fa
Pipeline #113073 failed with stages
in 46 minutes and 15 seconds
......@@ -473,8 +473,11 @@ class RestrictedFenicsOperator(Operator):
return NumpyMatrixOperator(JJ.matrix.array()[self.restricted_range_dofs, :])
_DEFAULT_SOVLER = 'mumps' if 'mumps' in df.linear_solver_methods() else 'default'
@defaults('solver', 'preconditioner', 'keep_solver')
def _solver_options(solver='mumps' if 'mumps' in df.linear_solver_methods() else 'default',
def _solver_options(solver=_DEFAULT_SOVLER,
preconditioner=None, keep_solver=True):
return {'solver': solver, 'preconditioner': preconditioner, 'keep_solver': keep_solver}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment