diff --git a/pyerrors/roots.py b/pyerrors/roots.py index 99434a1c..1cb7b46f 100644 --- a/pyerrors/roots.py +++ b/pyerrors/roots.py @@ -33,6 +33,5 @@ def find_root(d, func, guess=1.0, **kwargs): da = jacobian(lambda u, v: func(v, u))(d.value, root[0]) deriv = - da / dx - res = derived_observable(lambda x, **kwargs: x[0], [d], man_grad=[deriv]) - res._value = root[0] + res = derived_observable(lambda x, **kwargs: x[0] / d.value * root[0], [d], man_grad=[deriv]) return res