summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-04-01 17:03:52 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-04-01 17:03:52 +0100
commitaaa4eae2f43df1a1ed3c15ba2dacdc4dce5a43d6 (patch)
treece862208d28234c33dfc1316e37dd12135dc204d /Wrappers/Python
parent2b483605262a756a3bbbcab689f1e6db6e36b8d3 (diff)
downloadframework-aaa4eae2f43df1a1ed3c15ba2dacdc4dce5a43d6.tar.gz
framework-aaa4eae2f43df1a1ed3c15ba2dacdc4dce5a43d6.tar.bz2
framework-aaa4eae2f43df1a1ed3c15ba2dacdc4dce5a43d6.tar.xz
framework-aaa4eae2f43df1a1ed3c15ba2dacdc4dce5a43d6.zip
added tau to call to proximal
Diffstat (limited to 'Wrappers/Python')
-rw-r--r--Wrappers/Python/ccpi/optimisation/functions/Function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/Function.py b/Wrappers/Python/ccpi/optimisation/functions/Function.py
index 82f24a6..ba33666 100644
--- a/Wrappers/Python/ccpi/optimisation/functions/Function.py
+++ b/Wrappers/Python/ccpi/optimisation/functions/Function.py
@@ -59,7 +59,7 @@ class Function(object):
'''Alias of proximal(x, tau, None)'''
warnings.warn('''This method will disappear in following
versions of the CIL. Use proximal instead''', DeprecationWarning)
- return self.proximal(x, out=None)
+ return self.proximal(x, tau, out=None)
def __rmul__(self, scalar):
'''Defines the multiplication by a scalar on the left