Commit efd0e7f4 authored by Martin Reinecke's avatar Martin Reinecke

Merge branch 'operator_spectra' into bug_fix

parents bb0d073a d171464e
Pipeline #60982 passed with stages
in 8 minutes and 29 seconds
...@@ -124,8 +124,8 @@ def consistency_check(op, domain_dtype=np.float64, target_dtype=np.float64, ...@@ -124,8 +124,8 @@ def consistency_check(op, domain_dtype=np.float64, target_dtype=np.float64,
raise TypeError('This test tests only linear operators.') raise TypeError('This test tests only linear operators.')
_domain_check(op) _domain_check(op)
_check_linearity(op, domain_dtype, atol, rtol) _check_linearity(op, domain_dtype, atol, rtol)
_check_linearity(op.adjoint, domain_dtype, atol, rtol) _check_linearity(op.adjoint, target_dtype, atol, rtol)
_check_linearity(op.inverse, domain_dtype, atol, rtol) _check_linearity(op.inverse, target_dtype, atol, rtol)
_check_linearity(op.adjoint.inverse, domain_dtype, atol, rtol) _check_linearity(op.adjoint.inverse, domain_dtype, atol, rtol)
_full_implementation(op, domain_dtype, target_dtype, atol, rtol, _full_implementation(op, domain_dtype, target_dtype, atol, rtol,
only_r_linear) only_r_linear)
......
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