Commit 62d040c3 authored by Neel Shah's avatar Neel Shah
Browse files

replace flatten() by ravel()

parent 1e761a72
Pipeline #106976 canceled with stages
......@@ -135,7 +135,7 @@ class MatrixProductOperator(EndomorphicOperator):
res = res.reshape(np.flip(res.shape))
else:
res = m.dot(x.val.flatten()).reshape(self._domain.shape)
res = m.dot(x.val.ravel()).reshape(self._domain.shape)
return Field(self._domain, res)
mat_axes = self._mat_last_n if times else np.flip(self._mat_last_n)
......
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