Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Jul 29, 2024
1 parent e9e04f8 commit bc98b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemes/boundary/dummy_particles/dummy_particles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc98b44

Please sign in to comment.