Commit 00536ff8 authored by Philipp Frank's avatar Philipp Frank
Browse files

fix to_global_data

parent 940ba52d
......@@ -39,7 +39,7 @@ class LightConeDerivative(LinearOperator):
def apply(self, x, mode):
self._check_input(x, mode)
x = x.val
x = x.to_global_data()
res = np.zeros(self._tgt(mode).shape, dtype=self._derivatives.dtype)
for i in range(self.domain.shape[0]):
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