Skip to content

Commit

Permalink
Resolve #133
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Dec 14, 2021
1 parent 49f1ceb commit 274c319
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scico/linop/_stack.py
Expand Up @@ -64,16 +64,6 @@ def __init__(
self.collapse = collapse
output_shape = tuple(op.shape[0] for op in ops) # assumes BlockArray output

from scico.util import is_nested

shapes2 = []
for shape in output_shape:
if is_nested(shape):
[shapes2.append(s) for s in shape]
else:
shapes2.append(shape)
shapes = output_shape

# check if collapsable and adjust output_shape if needed
self.collapsable = all(output_shape[0] == s for s in output_shape)
if self.collapsable and self.collapse:
Expand Down

0 comments on commit 274c319

Please sign in to comment.