Skip to content

Commit

Permalink
[operators.numpy] removed asserts in as_range/source_array
Browse files Browse the repository at this point in the history
  • Loading branch information
pmli committed Feb 16, 2017
1 parent 238e622 commit 4803316
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pymor/operators/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,9 @@ def assemble(self, mu=None):
return self

def as_range_array(self, mu=None):
assert not self.sparse
return self.range.make_array(self._matrix.T.copy())

def as_source_array(self, mu=None):
assert not self.sparse
return self.source.make_array(self._matrix.copy())

def apply(self, U, mu=None):
Expand Down

0 comments on commit 4803316

Please sign in to comment.