Skip to content

Commit

Permalink
Fix an uninitialized variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Jun 6, 2024
1 parent 2d6e6ce commit 43e20cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hoomd/mpcd/test/communicator_mpi_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ void test_communicator_migrate(communicator_creator comm_creator,
comm->migrateParticles(2);
{
unsigned int tag(0xffffffff), type(0xffffffff);
Scalar3 pos, vel;
Scalar3 pos = make_scalar3(0,0,0);
Scalar3 vel = make_scalar3(0,0,0);

if (pdata->getN())
{
Expand Down

0 comments on commit 43e20cd

Please sign in to comment.