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

Should there be a function to create an NDIM array initialised with BLOSC2_SPECIAL_NAN? #624

Closed
waynegm opened this issue Jul 8, 2024 · 3 comments

Comments

@waynegm
Copy link
Contributor

waynegm commented Jul 8, 2024

Is there a reason for there being no:
b2nd_nan(b2nd_context_t *ctx, b2nd_array_t **array)
function to create an NDIM array, with BLOSC2_SPECIAL_NAN used as the default value for uninitialized portions of the array?

@FrancescAlted
Copy link
Member

No, that was probably an oversight. Interested in contributing it?

@waynegm
Copy link
Contributor Author

waynegm commented Jul 8, 2024

Sure, I'll fork and send a pull request soon.

waynegm added a commit to waynegm/c-blosc2 that referenced this issue Jul 9, 2024
FrancescAlted pushed a commit that referenced this issue Jul 9, 2024
@FrancescAlted
Copy link
Member

Fixed in #625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants