Commit 2c56a2d4 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

bug fix

parent 4d24451e
......@@ -52,6 +52,7 @@ class LogRGSpace(StructuredDomain):
def shape(self):
return self._shape
@property
def scalar_dvol(self):
return self._dvol
......
......@@ -64,7 +64,7 @@ class QHTOperator(LinearOperator):
def apply(self, x, mode):
self._check_input(x, mode)
dom = self._domain[self._space]
x = x.val * dom.scalar_dvol()
x = x.val * dom.scalar_dvol
n = self._domain.axes[self._space]
rng = n if mode == self.TIMES else reversed(n)
ax = dobj.distaxis(x)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment