diff options
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py b/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py index 3ac4358..34b7e35 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py +++ b/Wrappers/Python/ccpi/optimisation/functions/FunctionOperatorComposition.py @@ -37,17 +37,17 @@ class FunctionOperatorComposition(Function): ''' convex_conjugate does not take into account the Operator''' return self.function.convex_conjugate(x) - def proximal(self, x, tau): + def proximal(self, x, tau, out=None): - ''' proximal does not take into account the Operator''' + '''proximal does not take into account the Operator''' - return self.function.proximal(x, tau, out=None) + return self.function.proximal(x, tau, out=out) def proximal_conjugate(self, x, tau, out=None): ''' proximal conjugate does not take into account the Operator''' - return self.function.proximal_conjugate(x, tau) + return self.function.proximal_conjugate(x, tau, out=out) def gradient(self, x, out=None): |