Commit f5d87cdd authored by Martin Reinecke's avatar Martin Reinecke

Merge branch 'fix_operator_test' into 'NIFTy_7'

Make Nonlinear operator test accept Operators

See merge request !570
parents 42f529af 97a1274f
Pipeline #84637 passed with stages
in 28 minutes and 1 second
......@@ -113,7 +113,7 @@ def check_operator(op, loc, tol=1e-12, ntries=100, perf_check=True,
test shall try to sample from the metric or not.
"""
if not isinstance(op, Operator):
raise TypeError('This test tests only linear operators.')
raise TypeError('This test tests only (nonlinear) operators.')
_domain_check_nonlinear(op, loc)
_performance_check(op, loc, bool(perf_check))
_linearization_value_consistency(op, loc)
......
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