Skip to content

Commit 599b35a

Browse files
committed
push_particles_1vb: manually convert to Real3
1 parent 2234ac0 commit 599b35a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libpsc/psc_push_particles/push_particles_1vb.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct PushParticlesVb
2424
static void push_mprts(Mparticles& mprts, MfieldsState& mflds)
2525
{
2626
const auto& grid = mprts.grid();
27-
Real3 dxi = grid.domain.dx.inv();
27+
Real3 dxi = Real3(grid.domain.dx).inv();
2828
real_t dq_kind[MAX_NR_KINDS];
2929
auto& kinds = grid.kinds;
3030
assert(kinds.size() <= MAX_NR_KINDS);

0 commit comments

Comments
 (0)