summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-04-01 16:59:48 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-04-01 16:59:48 +0100
commitad4ba705e2c9265c829c00ff96306070bf045988 (patch)
tree219f8e481b1d0c3e8a5615b7b1a203adf721658b /Wrappers
parentcf36fb59af5806506a6b7b75edb7a5f7bebb8070 (diff)
downloadframework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.gz
framework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.bz2
framework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.xz
framework-ad4ba705e2c9265c829c00ff96306070bf045988.zip
added norm
Diffstat (limited to 'Wrappers')
-rwxr-xr-xWrappers/Python/ccpi/optimisation/ops.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/ops.py b/Wrappers/Python/ccpi/optimisation/ops.py
index 6afb97a..fcd0d9e 100755
--- a/Wrappers/Python/ccpi/optimisation/ops.py
+++ b/Wrappers/Python/ccpi/optimisation/ops.py
@@ -115,8 +115,8 @@ class TomoIdentity(Operator):
def adjoint(self,x, out=None):
return self.direct(x, out)
- def size(self):
- return NotImplemented
+ def norm(self):
+ return self.s1
def get_max_sing_val(self):
return self.s1