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

Warnings in RBF module #436

Closed
andrea-iob opened this issue Dec 13, 2023 · 0 comments · Fixed by #438
Closed

Warnings in RBF module #436

andrea-iob opened this issue Dec 13, 2023 · 0 comments · Fixed by #438
Assignees
Labels
Milestone

Comments

@andrea-iob
Copy link
Member

Since #434 the RBF module issues this warning:

#13 111.0 In file included from /opt/bitpit/src/RBF/rbf.cpp:34:
#13 111.0 /opt/bitpit/src/RBF/rbf.hpp: In copy constructor 'bitpit::RBFKernel::RBFKernel(const bitpit::RBFKernel&)':
#13 111.0 /opt/bitpit/src/RBF/rbf.hpp:109:22: warning: 'bitpit::RBFKernel::m_polyActiveBasis' will be initialized after [-Wreorder]
#13 111.0   109 |     std::vector<int> m_polyActiveBasis;             /**< Active terms of linear polynomial, 0 is constant, i+1 the i-th system coordinate */
#13 111.0       |                      ^~~~~~~~~~~~~~~~~
#13 111.0 /opt/bitpit/src/RBF/rbf.hpp:108:22: warning:   'bitpit::RBFKernel::LinearPolynomial bitpit::RBFKernel::m_polynomial' [-Wreorder]
#13 111.0   108 |     LinearPolynomial m_polynomial;                  /**< Linear polynomial object */
#13 111.0       |                      ^~~~~~~~~~~~
#13 111.0 /opt/bitpit/src/RBF/rbf.cpp:87:1: warning:   when initialized here [-Wreorder]
#13 111.0    87 | RBFKernel::RBFKernel(const RBFKernel & other)
#13 111.0       | ^~~~~~~~~
@andrea-iob andrea-iob added this to the 1.9 milestone Dec 13, 2023
@andrea-iob andrea-iob linked a pull request Dec 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants