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

Fix Radius Outlier Removal Openmp predetermined shared variables. #6197

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

larshg
Copy link
Contributor

@larshg larshg commented Dec 10, 2024

Const values are predetermined shared, gives compiler error on some GCC versions.

Fixes #6194

@mvieth
Copy link
Member

mvieth commented Dec 10, 2024

It might be necessary to also remove default(none) then, see #6107
Alternatively, we could remove const from mean_k and nn_dists_max, and keep them in the shared clause.

@larshg
Copy link
Contributor Author

larshg commented Dec 10, 2024

I choose to remove the default(none) - I would prefer too keep the variables const and then lets keep the same style with openmp clauses.

@larshg larshg merged commit 3fcf65e into PointCloudLibrary:master Dec 10, 2024
13 checks passed
@larshg larshg deleted the FixROROpenMP branch December 10, 2024 19:43
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.

[compile error] error: ‘nn_dists_max’ is predetermined ‘shared’ for ‘shared’
2 participants