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

GMGPolar deconstructor uses levels_orig: Can cause segfaults in unit tests #46

Open
mknaranja opened this issue Aug 7, 2023 · 0 comments

Comments

@mknaranja
Copy link
Member

The GMGPolar deconstructor uses levels_orig https://github.com/mknaranja/GMGPolar/blob/main/src/gmgpolar.cpp#L51 which only is set in define_coarse_nodes.cpp https://github.com/mknaranja/GMGPolar/blob/main/src/define_coarse_nodes.cpp#L52. This causes a segfault in the tests which was 'workarounded' with #44. A better strategy of default initialization or removal of levels_orig should be considered.

@mknaranja mknaranja changed the title GMGPolar deconstructor uses levels_orig GMGPolar deconstructor uses levels_orig: Can cause segfaults in unit tests Aug 7, 2023
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

No branches or pull requests

1 participant