Skip to content

Commit ce231a3

Browse files
committed
A small bug fix
1 parent f735f72 commit ce231a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lcode2dPy/push_solvers/push_solver_3d_gpu.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def step_dt(self, pl_fields: GPUArrays, pl_particles: GPUArrays,
6060
xi_plasma_layer = - self.xi_step_size * xi_i
6161
diagnostics.dxi(current_time, xi_plasma_layer,
6262
GPUArraysView(pl_particles), GPUArraysView(pl_fields),
63-
GPUArraysView(pl_currents), GPUArraysView(ro_beam))
63+
GPUArraysView(pl_currents), ro_beam.get())
6464

6565
# # Some diagnostics:
6666
view_pl_fields = GPUArraysView(pl_fields)

0 commit comments

Comments
 (0)