1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2018-05-30
Index: sfepy-release_2025.2/sfepy/solvers/ls.py
===================================================================
--- sfepy-release_2025.2.orig/sfepy/solvers/ls.py
+++ sfepy-release_2025.2/sfepy/solvers/ls.py
@@ -266,7 +266,7 @@ class ScipyIterative(LinearSolver):
_parameters = [
('method', 'str', 'cg', False,
'The actual solver to use.'),
- ('setup_precond', 'callable', lambda mtx, context: None, False,
+ ('setup_precond', 'callable', None, False,
"""User-supplied function for the preconditioner initialization/setup.
It is called as setup_precond(mtx, context), where mtx is the
matrix, context is a user-supplied context, and should return one
@@ -516,7 +516,7 @@ class PyAMGKrylovSolver(LinearSolver):
_parameters = [
('method', 'str', 'cg', False,
'The actual solver to use.'),
- ('setup_precond', 'callable', lambda mtx, context: None, False,
+ ('setup_precond', 'callable', None, False,
"""User-supplied function for the preconditioner initialization/setup.
It is called as setup_precond(mtx, context), where mtx is the
matrix, context is a user-supplied context, and should return one
|