Commit 9a2cc287 authored by Philipp Arras's avatar Philipp Arras
Browse files

Support complex input as well

parent 83d9e58f
......@@ -57,7 +57,7 @@ class _DomRemover(LinearOperator):
res = x.ravel() if mode == self.TIMES else x.reshape(
res = np.empty( if mode == self.TIMES else {}
res = np.empty(, dtype=x.dtype) if mode == self.TIMES else {}
for ii, (kk, dd) in enumerate(self.domain.items()):
i0, i1 = self._size_array[ii:ii + 2]
if mode == self.TIMES:
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