Commit e7da3d40 authored by Philipp Arras's avatar Philipp Arras
Browse files

Merge branch 'forgotten_test' into 'NIFTy_6'

Add forgotten test

See merge request !422
parents 57f14dac dce1cc03
Pipeline #70655 passed with stages
in 17 minutes and 50 seconds
......@@ -104,14 +104,13 @@ def _actual_domain_check_nonlinear(op, loc):
assert_(lin.domain is op.domain)
assert_( is op.domain)
assert_(lin.val.domain is lin.domain)
assert_(reslin.domain is op.domain)
assert_( is
assert_(reslin.val.domain is
assert_( is
assert_(reslin.jac.domain is reslin.domain)
assert_( is
assert_(lin.want_metric == reslin.want_metric)
_actual_domain_check_linear(reslin.jac, inp=loc)
_actual_domain_check_linear(reslin.jac.adjoint, inp=reslin.jac(loc))
if reslin.metric is not None:
......@@ -138,4 +138,4 @@ class LightConeOperator(Operator):
if not lin:
return res
jac = _LightConeDerivative(self._domain, self._target, derivs)
return Linearization(res, jac)
return, jac)
Supports Markdown
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