diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-10 17:38:19 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-10 17:38:19 +0100 |
commit | 430618bd44aec77468900222b996e1d3c32dae03 (patch) | |
tree | 0af4aa528877946e83705268cec2526d6337f952 /Wrappers | |
parent | c20f443cb80221260e284668fad2053798f9000a (diff) | |
download | framework-430618bd44aec77468900222b996e1d3c32dae03.tar.gz framework-430618bd44aec77468900222b996e1d3c32dae03.tar.bz2 framework-430618bd44aec77468900222b996e1d3c32dae03.tar.xz framework-430618bd44aec77468900222b996e1d3c32dae03.zip |
wrong indentation
Diffstat (limited to 'Wrappers')
-rw-r--r-- | Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py index f96c7a1..3c06641 100644 --- a/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py +++ b/Wrappers/Python/ccpi/optimisation/functions/L2NormSquared.py @@ -69,10 +69,10 @@ class L2NormSquared(Function): out *= 2 else: y = x - if self.b is not None: -# x.subtract(self.b, out=x) - y = x - self.b - return 2*y + if self.b is not None: + # x.subtract(self.b, out=x) + y = x - self.b + return 2*y def convex_conjugate(self, x, out=None): |