Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reshaping 1d tensor products #100

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

alexfikl
Copy link
Collaborator

Any reason this wasn't allowed? It mostly broke when trying to access space.bases, but a 1D tensor product space was just a PN on a Simplex(1).

Not sure if just returning the array is sufficient, but the tests seem to pass.

@inducer
Copy link
Owner

inducer commented Oct 11, 2024

That seems entirely fine to me. Thanks for putting it together!

@inducer inducer merged commit edc40ac into inducer:main Oct 11, 2024
8 of 9 checks passed
@alexfikl alexfikl deleted the reshape-fixes branch October 11, 2024 16:14
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