Commit 659c833c authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 0f4d315f
......@@ -56,5 +56,5 @@ class ValueInserter(LinearOperator):
res = np.zeros(, dtype=x.dtype)
res[self._index] = x
res = x[self._index]
res = np.full((1,),x[self._index])
return Field.from_global_data(self._tgt(mode), res)
Supports Markdown
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