Commit 74ed6fc6 authored by Stephan Rave's avatar Stephan Rave

[VectorOperator] fix check in apply_inverse

parent dd27957b
......@@ -842,7 +842,7 @@ class VectorArrayOperator(Operator):
return self.range.make_array(
def apply_inverse(self, V, mu=None, least_squares=False):
if not least_squares and len(V) != V.dim:
if not least_squares and len(self.array) != self.array.dim:
raise InversionError
from pymor.algorithms.gram_schmidt import gram_schmidt
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment