Skip to content
Snippets Groups Projects
Commit 77c5516b authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

MagFieldElements: Uninitialized class members.

Fix gcc13 warnings about copying uninitialized members in the BFieldMesh
copy ctor.
parent 8a5126d8
No related branches found
No related tags found
No related merge requests found
......@@ -136,8 +136,8 @@ private:
// look-up table and related variables
std::array<std::vector<int>, 3> m_LUT;
std::array<double, 3> m_invUnit; // inverse unit size in the LUT
int m_roff, m_zoff;
std::array<double, 3> m_invUnit= {0, 0, 0}; // inverse unit size in the LUT
int m_roff = 0, m_zoff = 0;
};
#include "MagFieldElements/BFieldMesh.icc"
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment