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

Remove deprecated usage of public member variables of DualView #780

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

tpadioleau
Copy link
Member

@tpadioleau tpadioleau commented Feb 18, 2025

@tpadioleau tpadioleau self-assigned this Feb 18, 2025
yasahi-hpc
yasahi-hpc previously approved these changes Feb 18, 2025
Copy link
Member

@yasahi-hpc yasahi-hpc left a comment

Choose a reason for hiding this comment

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

LGTM.
I have minor comments about the index type.
Another point is the usage of assert and throw (not the scope of this PR). In my opinion, we should always throw here since we cannot operate appropriately if conditions are not satisfied.

@tpadioleau
Copy link
Member Author

LGTM. I have minor comments about the index type. Another point is the usage of assert and throw (not the scope of this PR). In my opinion, we should always throw here since we cannot operate appropriately if conditions are not satisfied.

I agree some assert could be transformed into exceptions. I usually prefer to keep assert from low-level functions. For higher level functions where we also want recoverable error reporting, I agree exceptions are better suited.

@tpadioleau tpadioleau merged commit e5d8140 into main Feb 18, 2025
57 checks passed
@tpadioleau tpadioleau deleted the fix-deprecated-dualview-member-variables branch February 18, 2025 22:08
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