diff --git a/src/schemes/boundary/dummy_particles/dummy_particles.jl b/src/schemes/boundary/dummy_particles/dummy_particles.jl index 4538455cf..bb90ec2e2 100644 --- a/src/schemes/boundary/dummy_particles/dummy_particles.jl +++ b/src/schemes/boundary/dummy_particles/dummy_particles.jl @@ -508,7 +508,7 @@ end v_neighbor_system, particle, neighbor, system::BoundarySystem, neighbor_system) if system.ismoving[] - relative_velocity = current_velocity(v, system, particle) - + relative_velocity = current_velocity(v, system, particle) .- current_velocity(v_neighbor_system, neighbor_system, neighbor) return density_neighbor * dot(relative_velocity, relative_velocity) / 2 end