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

[bugfix] Remove raw pointers for the views in CpGrid #851

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blattms
Copy link
Member

@blattms blattms commented Mar 4, 2025

This pointers were dangling after a grid was copied and the original one removed. Fortunatley, we did not do this in productive code.

This approach uses a boolean to see whether the current view is distributed or not. This way we can use default copy constructors.

Unfortunately. there are a lot of branches now. Let's see what that costs.

This pointers were dangling afte a grid was copied and the original
one removed. Fortunatley, we did not do this in productive code.

This approach uses a boolean to see whether the current view is
distributed or not. This way we can use default copy constructors.

Unfortuantely. there are a lot of branches now. Let's see what that costs.
@blattms
Copy link
Member Author

blattms commented Mar 4, 2025

jenkins build this serial please

@blattms
Copy link
Member Author

blattms commented Mar 5, 2025

benchmark please

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.

1 participant