summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-01-08 17:02:26 +0000
committerGitHub <noreply@github.com>2019-01-08 17:02:26 +0000
commit11744367fa0a36be738226f14898ac5e8816491e (patch)
tree471846b6911aefdf0d6a0bf112b15ee7c2eca739
parentcd29af33331efe8730616e4585fcc1ce69d2931e (diff)
downloadframework-11744367fa0a36be738226f14898ac5e8816491e.tar.gz
framework-11744367fa0a36be738226f14898ac5e8816491e.tar.bz2
framework-11744367fa0a36be738226f14898ac5e8816491e.tar.xz
framework-11744367fa0a36be738226f14898ac5e8816491e.zip
added L member to Function
-rwxr-xr-xWrappers/Python/ccpi/optimisation/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/funcs.py b/Wrappers/Python/ccpi/optimisation/funcs.py
index db00e9f..2266560 100755
--- a/Wrappers/Python/ccpi/optimisation/funcs.py
+++ b/Wrappers/Python/ccpi/optimisation/funcs.py
@@ -38,7 +38,7 @@ def isSizeCorrect(data1 ,data2):
class Function(object):
def __init__(self):
- pass
+ self.L = None
def __call__(self,x, out=None): raise NotImplementedError
def grad(self, x): raise NotImplementedError
def prox(self, x, tau): raise NotImplementedError