Skip to content

locate, prod, tol#853

Merged
gertjanvanzwieten merged 3 commits intorelease/8from
bpo
Feb 9, 2024
Merged

locate, prod, tol#853
gertjanvanzwieten merged 3 commits intorelease/8from
bpo

Conversation

@gertjanvanzwieten
Copy link
Contributor

@gertjanvanzwieten gertjanvanzwieten commented Feb 9, 2024

Backport of #851, partial backport of #852

This patch add support for locate on tensorial topologies, by moving the locate
implementation from TransformChainsTopology to the Topology base class. This is
mode possible by adding a new method _lower_args, as well as an implementation
of _Mul._sample. The Sample.zip method received a new optional ndims argument
to facilitate zipping of samples with varying dimensions.
Numpy.product is deprecated and will be replaced by numpy.prod as of Numpy 2.0.
@gertjanvanzwieten gertjanvanzwieten changed the title support locate on tensorial topologies locate, prod, tol Feb 9, 2024
@gertjanvanzwieten gertjanvanzwieten merged commit 5665a67 into release/8 Feb 9, 2024
@joostvanzwieten joostvanzwieten deleted the bpo branch February 27, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants