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

Update example.cc to fix error #7

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

Conversation

fire
Copy link

@fire fire commented Nov 6, 2024

error: missing initializer for member 'Satsuma::BiMDFSolverConfig::double_cover' [-Werror=missing-field-initializers]

error: missing initializer for member 'Satsuma::BiMDFSolverConfig::double_cover' [-Werror=missing-field-initializers]
@fire
Copy link
Author

fire commented Nov 6, 2024

modules/bimdf/bimdf.cpp:65:3: error: ISO C++ requires field designators to be specified in declaration order; field 'matching_solver' will be initialized after field 'double_cover' [-Werror,-Wreorder-init-list]
                .double_cover = Satsuma::BiMDFDoubleCoverConfig(),
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/bimdf/bimdf.cpp:64:22: note: previous initialization for field 'matching_solver' is here
                .matching_solver = Satsuma::MatchingSolver::Lemon,
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Still working on it.

@fire fire marked this pull request as draft November 6, 2024 16:33
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