Skip to content

Commit

Permalink
performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Oct 23, 2024
1 parent b116729 commit 54f1439
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions refinery/units/blockwise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ def _mask(it):
if not warnings:
self.log_warn('additional warnings are suppressed')
yield out
it = infinitize(it)
if not masked:
it = _mask(it)
return it
return infinitize(it)

@abc.abstractmethod
def operate(self, block, *args) -> int:
Expand Down

0 comments on commit 54f1439

Please sign in to comment.