Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Dec 6, 2023
1 parent cc075f5 commit e5e1ed9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/general/corrections.jl
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,9 @@ function compute_gradient_correction_matrix!(corr_matrix::AbstractArray,
grad_kernel = corrected_kernel_grad(smoothing_kernel, pos_diff, distance,
smoothing_length,
KernelGradientCorrection(),
neighbor_system,
neighbor)
system, particle)
else
grad_kernel = smoothing_kernel_grad(neighbor_system, pos_diff, distance)
grad_kernel = smoothing_kernel_grad(system, pos_diff, distance)
end

L = volume * grad_kernel * pos_diff'
Expand Down

0 comments on commit e5e1ed9

Please sign in to comment.