Skip to content

Conversation

@dham
Copy link
Member

@dham dham commented Jan 12, 2026

The sum factorisation implementation only works with up to 6 indices in a contraction. There are
circumstances in which an interpolation kernel can exceed this. Rather than failing in this case, we
should not sum factorise.

The sum factorisation implementation only works
with up to 6 indices in a contraction. There are
circumstances in which an interpolation kernel can
exceed this. Rather than failing in this case, we
should not sum factorise.
@connorjward
Copy link

As an alternative could we just have (here)

if len(sum_indices) > 6:
    logger.warning("That's a lot of indices you have there, this might take some time")

@dham
Copy link
Member Author

dham commented Jan 12, 2026

As an alternative could we just have (here)

if len(sum_indices) > 6:
    logger.warning("That's a lot of indices you have there, this might take some time")

Fair.

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.

3 participants