diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-01 16:59:48 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-04-01 16:59:48 +0100 |
commit | ad4ba705e2c9265c829c00ff96306070bf045988 (patch) | |
tree | 219f8e481b1d0c3e8a5615b7b1a203adf721658b /Wrappers | |
parent | cf36fb59af5806506a6b7b75edb7a5f7bebb8070 (diff) | |
download | framework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.gz framework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.bz2 framework-ad4ba705e2c9265c829c00ff96306070bf045988.tar.xz framework-ad4ba705e2c9265c829c00ff96306070bf045988.zip |
added norm
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/optimisation/ops.py | 4 |
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 |