🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@charris
Copy link
Member

@charris charris commented Sep 23, 2025

Backport of #29780.

When using a buffered iteration, there was a new assert to check that strides were set up nicely to ensure that we are not missing dimension coalescing.

However, when the strides are set up to track an index, then they were still set up with a 0 for length 1.
I think that is just unnecessary (i.e. the assert is correct to point it out). But, let's do this first for backporting at least.

Closes #29690

When using a buffered iteration, there was a new assert to check
that strides were set up nicely to ensure that we are not missing
dimension coalescing.

However, when the strides are set up to track an index, then they
were still set up with a 0 for length 1.
I _think_ that is just unnecessary (i.e. the assert is correct to
point it out).  But, let's do this first for backporting at least.

Signed-off-by: Sebastian Berg <sebastianb@nvidia.com>
@charris charris added this to the 2.3.4 release milestone Sep 23, 2025
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Sep 23, 2025
@charris charris merged commit 387662f into numpy:maintenance/2.3.x Sep 24, 2025
80 of 81 checks passed
@charris charris deleted the backport-29780 branch September 24, 2025 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants