Commit f7a7bdfa authored by Neel Shah's avatar Neel Shah
Browse files

Fixed a bug with adjoint_times for spaces=None

parent e07efa6e
Pipeline #104585 canceled with stages
......@@ -132,7 +132,7 @@ class MatrixProductOperator(EndomorphicOperator):
mat_axes = np.flip(self._mat_last_n)
field_axes = self._mat_first_n
res = np.tensordot(m,x.val,axes=(mat_axes,field_axes))
res = res.reshape(np.flip(res.shape))
res = res.transpose()
res =
return Field(self._domain, 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