Commit e8350548 authored by Jakob Knollmüller's avatar Jakob Knollmüller
Browse files

maybe last index?

parent 77152507
Pipeline #94617 failed with stages
in 5 minutes and 23 seconds
......@@ -103,7 +103,7 @@ class LowerTriangularProjector(LinearOperator):
mat = np.zeros(self._target.shape)
mat[self._indices] = x.val
return makeField(self._target,mat)
return makeField(self._domain, x.val[0][self._indices].reshape(self._domain.shape))
return makeField(self._domain, x.val[self._indices].reshape(self._domain.shape))
class DiagonalSelector(LinearOperator):
def __init__(self, domain, target):
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