Skip to content

Commit eb79293

Browse files
committed
FIX: Remove unused dimension edit in apply_core_strided_[cf]
The original design was that the apply cores were "resumable", and thus we'd put the dimension "back in order" when exiting the method. However, this is not in use today (and loop break from FoldWhile also bypasses this tail code, anyway), so just remove this unused line.
1 parent b457aec commit eb79293

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/zip/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,6 @@ where
781781

782782
index_ = self.dimension.next_for(index);
783783
}
784-
self.dimension[unroll_axis] = inner_len;
785784
FoldWhile::Continue(acc)
786785
}
787786

@@ -812,7 +811,6 @@ where
812811
}
813812
}
814813
}
815-
self.dimension[unroll_axis] = inner_len;
816814
FoldWhile::Continue(acc)
817815
}
818816

0 commit comments

Comments
 (0)