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

No constexpr rank via constexpr min-max rank. #938

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Feb 3, 2024

The commit removes the requirement for a constexpr rank. Instead
containers need a minimum and maximum constexpr rank.

The difficulties are:

  • Empty arrays can't figure out their runtime rank. This is an issue
    when deducing the dimension when writing to disk. The "solution" is
    to deduce with lowest rank possible.

@1uc 1uc changed the title 1uc/non constexpr rank No constexpr rank via constexpr min-max rank. Feb 3, 2024
@1uc 1uc added the v3 Anything that needs to be resolved before `v3`. label Feb 3, 2024
@1uc 1uc removed the v3 Anything that needs to be resolved before `v3`. label May 10, 2024
@1uc 1uc force-pushed the 1uc/non-constexpr-rank branch from b721d4b to d881187 Compare May 14, 2024 08:02
The commit removes the requirement for a constexpr rank. Instead
containers need a minimum and maximum constexpr rank.

The difficulties are:

  * Empty arrays can't figure out their runtime rank. This is an issue
    when deducing the dimension when writing to disk. The "solution" is
    to deduce with lowest rank possible.
@1uc 1uc force-pushed the 1uc/non-constexpr-rank branch from d881187 to e3d9031 Compare May 14, 2024 08:30
@1uc 1uc marked this pull request as ready for review May 14, 2024 09:29
@1uc
Copy link
Collaborator Author

1uc commented May 14, 2024

This allows us to do xt::xarray: #976

@1uc 1uc requested a review from alkino May 14, 2024 09:29
@1uc 1uc merged commit b3f34bd into master May 14, 2024
36 checks passed
@1uc 1uc deleted the 1uc/non-constexpr-rank branch May 14, 2024 10:28
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