Skip to content

Commit b69b2fa

Browse files
committed
Better initialize variable in MCTrack test
1 parent b5226b5 commit b69b2fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataFormats/simulation/test/MCTrack.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ BOOST_AUTO_TEST_CASE(Stack_test)
7272
{
7373
o2::data::Stack st;
7474
int a;
75-
TMCProcess proc;
75+
TMCProcess proc{kPPrimary};
7676
// add a 2 primary particles
7777
st.PushTrack(1, -1, 0, 0, 0., 0., 10., 5., 5., 5., 0.1, 0., 0., 0., proc, a, 1., 1);
7878
st.PushTrack(1, -1, 0, 0, 0., 0., 10., 5., 5., 5., 0.1, 0., 0., 0., proc, a, 1., 1);

0 commit comments

Comments
 (0)