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

Cosmetics

parent b7c6b0d1
Pipeline #70647 passed with stages
in 18 minutes and 7 seconds
......@@ -95,7 +95,7 @@ class _InterpolationOperator(Operator):
if self._transform:
lin = getattr(lin, self._inv_table_func)(*self._args)
jac = makeOp(Field(self._domain, self._deriv[fi]))
return x.new(lin.val, lin.jac@jac)
return x.new(lin.val, lin.jac @ jac)
def InverseGammaOperator(domain, alpha, q, delta=0.001):
......
......@@ -89,7 +89,7 @@ def testBinary(type1, type2, space, seed):
ift.extra.check_jacobian_consistency(model, pos, ntries=20)
def testPointModel(space, seed):
def testInterpolationOps(space, seed):
np.random.seed(seed)
S = ift.ScalingOperator(space, 1.)
pos = S.draw_sample()
......
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