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

247 dynrankview fails to serialize when rank is 0 #248

Merged
merged 6 commits into from
Jul 18, 2022

Conversation

lifflander
Copy link
Contributor

Fixes #247

@lifflander lifflander linked an issue Jun 14, 2022 that may be closed by this pull request
@PhilMiller
Copy link
Member

This looks wrong. A rank 0 view has a single scalar value

Copy link
Contributor

@nlslatt nlslatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a brief discussion with @rppawlo, it sounds like an uninitialized DynRankView will have dim 0 and size 0, while a single scalar DynRankView will have dim 0 and non-zero size. This PR, including tests, should be updated to reflect that.

@lifflander lifflander requested a review from nlslatt June 16, 2022 18:52
Copy link
Contributor

@nlslatt nlslatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@PhilMiller PhilMiller force-pushed the 247-dynrankview-fails-to-serialize-when-rank-is-0 branch from 888069e to 10d099c Compare July 15, 2022 23:34
@PhilMiller PhilMiller force-pushed the 247-dynrankview-fails-to-serialize-when-rank-is-0 branch from 10d099c to c0891ab Compare July 17, 2022 23:33
@PhilMiller PhilMiller force-pushed the 247-dynrankview-fails-to-serialize-when-rank-is-0 branch from c0891ab to c9d6f9f Compare July 17, 2022 23:40
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.

DynRankView fails to serialize when rank is 0
3 participants