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

Allow one to query the size of an existing dimension #18

Conversation

d7919
Copy link
Contributor

@d7919 d7919 commented Dec 6, 2024

Allows one to query the size on an existing dimension. For symmetry we could perhaps also allow the values based overload to return the actual values (as this doesn't have a dim_size argument) or we could add a dim_size argument to these overloads (requiring a check that dim_size and values aren't set, or at least if both are set then are consistent).

@d7919
Copy link
Contributor Author

d7919 commented Dec 6, 2024

This would require neasyf_dim to only ever pass a variable to dim_size rather than the more commonly desirable integer literal so this is not the correct approach for such functionality.

@d7919 d7919 closed this Dec 6, 2024
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