Commit 7266345b authored by Peter Oehme's avatar Peter Oehme
Browse files

fixes behaviour of conjparamfunc.d_mu

parent cd7ec2fb
Pipeline #158220 passed with stages
in 25 minutes and 21 seconds
......@@ -364,6 +364,9 @@ class ConjugateParameterFunctional(ParameterFunctional):
assert self.parameters.assert_compatible(mu)
return np.conj(self.functional.evaluate(mu))
def d_mu(self, parameter, index=0):
return self.with_(functional=self.functional.d_mu(parameter, index), name=f'{self.name}_d_{parameter}_{index}')
class ConstantParameterFunctional(ParameterFunctional):
"""|ParameterFunctional| returning a constant value for each parameter.
......
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