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

add initialization in block_matrix to fix GCC 12 warning #241

Merged
merged 1 commit into from
Oct 21, 2022
Merged

add initialization in block_matrix to fix GCC 12 warning #241

merged 1 commit into from
Oct 21, 2022

Conversation

philbucher
Copy link
Contributor

Without this, GCC 12 issues the following warning:

/__w/Kratos/Kratos/external_libraries/amgcl/adapter/block_matrix.hpp:84:44: error: member 'amgcl::adapter::block_matrix_adapter<amgcl::backend::crs<float, long int, long int>, amgcl::static_matrix<float, 3, 3> >::row_iterator::buf' is used uninitialized [-Werror=uninitialized]

@ddemidov
Copy link
Owner

Thank you Philipp!

@ddemidov ddemidov merged commit f8307ec into ddemidov:master Oct 21, 2022
@philbucher philbucher deleted the patch-1 branch October 21, 2022 19:09
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