summaryrefslogtreecommitdiffstats
path: root/python/astra
diff options
context:
space:
mode:
Diffstat (limited to 'python/astra')
-rw-r--r--python/astra/optomo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/astra/optomo.py b/python/astra/optomo.py
index dd10713..5a92998 100644
--- a/python/astra/optomo.py
+++ b/python/astra/optomo.py
@@ -125,7 +125,7 @@ class OpTomo(scipy.sparse.linalg.LinearOperator):
algorithm.delete(fp_id)
self.data_mod.delete([vid,sid])
- return s.flatten()
+ return s.ravel()
def rmatvec(self,s):
"""Implements the transpose operator.
@@ -147,7 +147,7 @@ class OpTomo(scipy.sparse.linalg.LinearOperator):
algorithm.delete(bp_id)
self.data_mod.delete([vid,sid])
- return v.flatten()
+ return v.ravel()
def __mul__(self,v):
"""Provides easy forward operator by *.